Updated repository method names to be more explicit

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

No files matched your search

@@ -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);
}