Свойство | Тип | Описание | |
---|---|---|---|
$dir | string | Cache dir |
Метод | Описание | |
---|---|---|
__construct ( string $dir ) : |
Constructor | |
clear ( ) : void | Method to clear all stored values from cache. | |
getDir ( ) : string | Method to get the current cache dir. | |
load ( string $id, string $time ) : mixed | Method to load a value from cache. | |
remove ( string $id ) : void | Method to delete a value in cache. | |
save ( string $id, mixed $value, string $time ) : void | Method to save a value to cache. |
public __construct ( string $dir ) : |
||
$dir | string | |
Результат |