src/Token.php
public function can($scope)
    {
        return in_array('*', $this->scopes) ||
               array_key_exists($scope, array_flip($this->scopes));
    }
public function can($scope)
    {
        return in_array('*', $this->scopes) ||
               array_key_exists($scope, array_flip($this->scopes));
    }
public function can ( $ scope ) { return in_array ( '*' , $ this -> scopes ) || array_key_exists ( $ scope , array_flip ( $ this -> scopes ) ) ; }
Determine if the token has a given scope.

@param  string  $scope
@return bool
Determine if the token has a given scope .