Updated repository method names to be more explicit

This commit is contained in:
Alex Bilbie
2015-11-13 17:39:07 +00:00
parent 03e4ac7ea6
commit da8efa20cd
7 changed files with 40 additions and 35 deletions

View File

@ -19,11 +19,11 @@ interface ScopeRepositoryInterface extends RepositoryInterface
/**
* Return information about a scope
*
* @param string $scopeIdentifier The scope identifier
* @param string $grantType The grant type used in the request (default = "null")
* @param string $clientId The client sending the request (default = "null")
* @param string $identifier The scope identifier
* @param string $grantType The grant type used in the request
* @param string $clientId The client sending the request
*
* @return \League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface
*/
public function get($scopeIdentifier, $grantType = null, $clientId = null);
public function getScopeEntityByIdentifier($identifier, $grantType, $clientId = null);
}