Method | Description | |
---|---|---|
getFilesystem ( ) : Symfony\Component\Filesystem\Filesystem | ||
getLocationCacheDir ( integer $locationId = null ) : string | Returns cache dir for $locationId. | |
getLocationCacheLockName ( $locationId = null ) : string | Returns cache lock name for $locationId. | |
getPath ( string $key ) : string | Returns the right path where cache is being stored. | |
purgeAllContent ( ) : boolean | Purges all cached content. | |
purgeByRequest ( |
Purges data from $request. | |
setFilesystem ( Symfony\Component\Filesystem\Filesystem $fs ) | Injects a Filesystem instance For unit tests only. |
Method | Description | |
---|---|---|
generateContentDigest ( |
Injects eZ Publish specific information in the content digest if needed. |
Method | Description | |
---|---|---|
purgeLocation ( $locationId ) : boolean | Purges cache for $locationId. |
protected generateContentDigest ( |
||
$response | ||
return | string |
public getFilesystem ( ) : Symfony\Component\Filesystem\Filesystem | ||
return | Symfony\Component\Filesystem\Filesystem |
public getLocationCacheDir ( integer $locationId = null ) : string | ||
$locationId | integer | |
return | string |
public getLocationCacheLockName ( $locationId = null ) : string | ||
return | string |
public purgeAllContent ( ) : boolean | ||
return | boolean |
public purgeByRequest ( |
||
$request | ||
return | boolean | True if purge was successful. False otherwise |
public setFilesystem ( Symfony\Component\Filesystem\Filesystem $fs ) | ||
$fs | Symfony\Component\Filesystem\Filesystem |