Method | Description | |
---|---|---|
__construct ( Psr\Cache\CacheItemPoolInterface $cachePool ) | DoctrineCacheBridge constructor. | |
getCachePool ( ) : Psr\Cache\CacheItemPoolInterface |
Method | Description | |
---|---|---|
doContains ( string $id ) : boolean | Tests if an entry exists in the cache. | |
doDelete ( string $id ) : boolean | Deletes a cache entry. | |
doFetch ( string $id ) : mixed | false | Fetches an entry from the cache. | |
doFlush ( ) : boolean | Flushes all cache entries. | |
doGetStats ( ) : array | null | Retrieves cached information from the data store. | |
doSave ( string $id, string $data, integer $lifeTime ) : boolean | Puts data into the cache. |
Method | Description | |
---|---|---|
normalizeKey ( string $key ) : string | We need to make sure we do not use any characters not supported. |
public __construct ( Psr\Cache\CacheItemPoolInterface $cachePool ) | ||
$cachePool | Psr\Cache\CacheItemPoolInterface |
protected doContains ( string $id ) : boolean | ||
$id | string | The cache id of the entry to check for. |
return | boolean | TRUE if a cache entry exists for the given cache id, FALSE otherwise. |
protected doGetStats ( ) : array | null | ||
return | array | null | An associative array with server's statistics if available, NULL otherwise. |
protected doSave ( string $id, string $data, integer $lifeTime ) : boolean | ||
$id | string | The cache id. |
$data | string | The cache entry/data. |
$lifeTime | integer | The lifetime. If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime). |
return | boolean | TRUE if the entry was successfully stored in the cache, FALSE otherwise. |
public getCachePool ( ) : Psr\Cache\CacheItemPoolInterface | ||
return | Psr\Cache\CacheItemPoolInterface |