src/SaveHandler/Database/Adapter/TableGateaway.php
public function gc($maxlifetime)
    {
        $sessions = $this->selectBy(
            sprintf(
                '%s < %d',
                $this->options->getModifiedColumn(),
                time() - $maxlifetime
            )
        );

        foreach ($sessions as $session) {
            $this->delete($session);
        }

        return true;
    }
public function gc($maxlifetime)
    {
        $sessions = $this->selectBy(
            sprintf(
                '%s < %d',
                $this->options->getModifiedColumn(),
                time() - $maxlifetime
            )
        );

        foreach ($sessions as $session) {
            $this->delete($session);
        }

        return true;
    }
Garbage Collection - remove old session data older than $maxlifetime (in seconds).

@param int $maxlifetime

@return bool