Свойство | Type | Description | |
---|---|---|---|
$cacheDir | directory of cache files | ||
$extension | extension of cache files |
Méthode | Description | |
---|---|---|
__construct ( array $settings = [] ) | Check configuration and permissions |
Méthode | 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 |
Résultat | string | path to file |