src/Utility/TokenTrait.php
public function delete($token)
    {
        $query = $this->find(compact('token'));

        return $query->count() ? $this->getTable()->delete($query->first()) : false;
    }
public function delete($token)
    {
        $query = $this->find(compact('token'));

        return $query->count() ? $this->getTable()->delete($query->first()) : false;
    }
public function delete ( $ token ) { $ query = $ this -> find ( compact ( 'token' ) ) ; return $ query -> count ( ) ? $ this -> getTable ( ) -> delete ( $ query -> first ( ) ) : false ; }
Deletes a token
@param string $token Token value
@return bool
@uses find()
@uses getTable()
Deletes a token