$lifetime
$lifetime : integer
Cache lifetime
File adapter cache class
__construct(string $dir, integer $lifetime) : \Pop\Cache\Adapter\File
Constructor
Instantiate the cache file object
| string | $dir | |
| integer | $lifetime |
setLifetime(integer $lifetime) : \Pop\Cache\Adapter\AbstractAdapter
Set the lifetime.
| integer | $lifetime |
save(string $id, mixed $value) : \Pop\Cache\Adapter\File
Save a value to cache.
| string | $id | |
| mixed | $value |
remove(string $id) : \Pop\Cache\Adapter\File
Remove a value in cache.
| string | $id |
clear(boolean $del = false, string $path = null) : \Pop\Cache\Adapter\File
Clear all stored values from cache.
| boolean | $del | |
| string | $path |
setDir(string $dir) : \Pop\Cache\Adapter\File
Set the current cache dir.
| string | $dir |
delete(string $path = null) : \Pop\Cache\Adapter\File
Method to delete the top level directory
| string | $path |