public function SessionProxy_Storage_Cache::gc in Session Proxy 7
Overrides SessionProxy_Storage_Interface::gc
File
- lib/
SessionProxy/ Storage/ Cache.php, line 103
Class
- SessionProxy_Storage_Cache
- Storage implementation based upon a specific cache backend.
Code
public function gc($lifetime) {
// FIXME: This is not the valid signature we would really want to have,
// but this doesn't seems that easy to match the real PHP session lifetime
// API signature with cache backends.
$this->cacheBackend
->clear();
return TRUE;
}