$ttl
$ttl : integer
Global time-to-live
File adapter cache class
setTtl(integer $ttl) : \Pop\Cache\Adapter\AbstractAdapter
Set the global time-to-live for the cache adapter
integer | $ttl |
saveItem(string $id, mixed $value, integer $ttl = null) : \Pop\Cache\Adapter\File
Save an item to cache
string | $id | |
mixed | $value | |
integer | $ttl |
deleteItem(string $id) : \Pop\Cache\Adapter\File
Delete a value in cache
string | $id |
clear() : \Pop\Cache\Adapter\File
Clear all stored values from cache
destroy() : \Pop\Cache\Adapter\File
Destroy cache resource
setDir(string $dir) : \Pop\Cache\Adapter\File
Set the current cache dir
string | $dir |