$ttl
$ttl : integer
Global time-to-live
Session 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\Session
Save an item to cache
string | $id | |
mixed | $value | |
integer | $ttl |
deleteItem(string $id) : \Pop\Cache\Adapter\Session
Delete a value in cache
string | $id |
clear() : \Pop\Cache\Adapter\Session
Clear all stored values from cache