public function gc($maxlifetime)
    {
        $this->sessions()
            ->where('time', '<', $this->createTimestamp(time() + $maxlifetime))
            ->delete();

        return true;
    }
public function gc($maxlifetime)
    {
        $this->sessions()
            ->where('time', '<', $this->createTimestamp(time() + $maxlifetime))
            ->delete();

        return true;
    }
public function gc ( $ maxlifetime ) { $ this -> sessions ( ) -> where ( 'time' , '<' , $ this -> createTimestamp ( time ( ) + $ maxlifetime ) ) -> delete ( ) ; return true ; }
Garbage collector for cleans old sessions

@param int $maxlifetime
@return bool|void
Garbage collector for cleans old sessions