Property | Type | Description | |
---|---|---|---|
$adapter | |||
$functions | array | ||
$logger | Psr\Log\LoggerInterface | ||
$proxies | array | ||
$tempDir | string |
Method | Description | |
---|---|---|
__call ( string $name, array $arguments ) : mixed | Calls proxy functions | |
__construct ( string $tempDir = null, Psr\Log\LoggerInterface $logger = null ) | ||
addProxy ( CacheTool\Proxy\ProxyInterface $proxy ) : |
||
factory ( |
||
getAdapter ( ) : |
||
getLogger ( ) : Psr\Log\LoggerInterface | ||
getProxies ( ) : array | ||
setAdapter ( |
||
setLogger ( Psr\Log\LoggerInterface $logger ) : |
Method | Description | |
---|---|---|
getFunction ( string $name ) : callable | Initializes functions and return callable |
public __construct ( string $tempDir = null, Psr\Log\LoggerInterface $logger = null ) | ||
$tempDir | string | |
$logger | Psr\Log\LoggerInterface |
public addProxy ( CacheTool\Proxy\ProxyInterface $proxy ) : |
||
$proxy | CacheTool\Proxy\ProxyInterface | |
return |
public getAdapter ( ) : |
||
return |
protected getFunction ( string $name ) : callable | ||
$name | string | |
return | callable |
public getLogger ( ) : Psr\Log\LoggerInterface | ||
return | Psr\Log\LoggerInterface |
public setAdapter ( |
||
$adapter | ||
return |
public setLogger ( Psr\Log\LoggerInterface $logger ) : |
||
$logger | Psr\Log\LoggerInterface | |
return |
protected AbstractAdapter,CacheTool\Adapter $adapter | ||
return |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |