src/Http/Session/Registry/SessionRegistry.php
public function collectGarbage($maxLifetime = null)
    {
        $maxLifetime = $maxLifetime ?: ini_get('session.gc_maxlifetime');
        $this->sessionRegistryStorage->collectGarbage($maxLifetime);
    }
public function collectGarbage($maxLifetime = null)
    {
        $maxLifetime = $maxLifetime ?: ini_get('session.gc_maxlifetime');
        $this->sessionRegistryStorage->collectGarbage($maxLifetime);
    }
public function collectGarbage ( $ maxLifetime = null ) { $ maxLifetime = $ maxLifetime ? : ini_get ( 'session.gc_maxlifetime' ) ; $ this -> sessionRegistryStorage -> collectGarbage ( $ maxLifetime ) ; }
Removes sessions information which last used timestamp is older
than the given lifetime.

@param int $maxLifetime
Removes sessions information which last used timestamp is older than the given lifetime .