$lifetime
$lifetime : integer
Cache lifetime
Session adapter cache class
__construct(integer $lifetime) : \Pop\Cache\Adapter\Session
Constructor
Instantiate the cache session object
integer | $lifetime |
setLifetime(integer $lifetime) : \Pop\Cache\Adapter\AbstractAdapter
Set the lifetime.
integer | $lifetime |
save(string $id, mixed $value) : \Pop\Cache\Adapter\Session
Save a value to cache.
string | $id | |
mixed | $value |
remove(string $id) : \Pop\Cache\Adapter\Session
Remove a value in cache.
string | $id |
clear() : \Pop\Cache\Adapter\Session
Clear all stored values from cache.