Property | Type | Description | |
---|---|---|---|
$cacheDir | directory of cache files | ||
$extension | extension of cache files |
Method | Description | |
---|---|---|
__construct ( array $settings = [] ) | Check configuration and permissions |
Method | Description | |
---|---|---|
doDelete ( string $id ) : boolean | mixed | ||
doFlush ( ) : boolean | Flush implementation for all file-based cache implementations | |
getFilename ( string $id ) : string | Generate path to cache file based on cache entry id | |
writeFile ( string $fileName, string $content ) : boolean | integer | Write string to the file in an atomic way |
public __construct ( array $settings = [] ) | ||
$settings | array |
protected getFilename ( string $id ) : string | ||
$id | string | cache entry id |
return | string | path to file |