public function fetchToken(string $token) : ?Token
    {
        return $this->getModel()
                    ->newQuery()
                    ->where('token', $token)
                    ->first();
    }
public function fetchToken(string $token) : ?Token
    {
        return $this->getModel()
                    ->newQuery()
                    ->where('token', $token)
                    ->first();
    }
public function fetchToken ( string $ token ) : ? Token { return $ this -> getModel ( ) -> newQuery ( ) -> where ( 'token' , $ token ) -> first ( ) ; }
Fetch token from the database

@param string    $token
@return \Illuminate\Database\Eloquent\Builder|\Laranix\Support\Database\Model|\Laranix\Auth\User\Token\Token
Fetch token from the database