UserExtension
trait UserExtension
UserExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Traits
PersonalAccessTokenExtension trait.
Methods
getPersonalAccessToken(string $personalAccessTokenId)
Returns a PersonalAccessToken resource.
getPersonalAccessTokens(Query $query = null)
Returns a ResourceArray object containing PersonalAccessToken resources.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
getUserMe()
Returns a User resource.
Details
in PersonalAccessTokenExtension at line 33
getPersonalAccessToken(string $personalAccessTokenId)
Returns a PersonalAccessToken resource.
in PersonalAccessTokenExtension at line 45
getPersonalAccessTokens(Query $query = null)
Returns a ResourceArray object containing PersonalAccessToken resources.
at line 26
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
at line 35
getUserMe()
Returns a User resource.