RoleExtension
trait RoleExtension
RoleExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Methods
getRole(string $spaceId, string $roleId)
Returns a Role resource.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
Details
at line 33
getRole(string $spaceId, string $roleId)
Returns a Role resource.
at line 46
getRoles(string $spaceId, Query $query = null)
Returns a ResourceArray object containing Role resources.