Свойство | Тип | Описание | |
---|---|---|---|
$_directory | string | directory of the cache | |
$_extension | string | extension of the cached files |
Метод | Описание | |
---|---|---|
clear ( mixed $bundle = null ) : |
clear the cache | |
clearInvalid ( integer $lifetime = 3600 ) : |
clear the invalid cache | |
getDirectory ( ) : string | get the directory | |
getPath ( mixed $bundle = null ) : string | get the path | |
init ( string $directory = null, string $extension = null ) : |
init the class | |
retrieve ( mixed $bundle = null ) : mixed | retrieve from cache | |
store ( mixed $bundle = null, string $content = null ) : |
store to cache | |
validate ( mixed $bundle = null, integer $lifetime = 3600 ) : boolean | validate the cache |
Метод | Описание | |
---|---|---|
_getFile ( mixed $bundle = null ) : string | get the file | |
_validateFile ( string $path = null, integer $lifetime = 3600 ) : boolean | validate the file |
public clearInvalid ( integer $lifetime = 3600 ) : |
||
$lifetime | integer | lifetime of the bundle |
Результат |
protected string $_directory | ||
Результат | string |
protected string $_extension | ||
Результат | string |