/** * Garbage collecting the session old files. * * @param int $maxLifetime * * @return void */ public function gc($maxLifetime) { parent::gc($maxLifetime); }
/** * Garbage Collection - remove old session data older * than $maxLifetime (in seconds) * * @param int $maxLifetime * @return bool */ public function gc($maxLifetime) { return $this->saveHandlerAdapter->gc($maxLifetime); }
public function gc($maxlifetime) { return parent::gc($maxlifetime); }
/** * {@inheritdoc} */ public function gc($maxlifetime) { return (bool) $this->handler->gc($maxlifetime); }
<?php ini_set('session.save_handler', 'files'); $x = new SessionHandler(); $x->gc(1);
/** * Wrapper for garbage collection */ public function gc($maxlifetime) { // notify wrapper about garbage collection call $this->wrapper->gc($maxlifetime); return parent::gc($maxlifetime); }