AdminAccessRoleReaderInterface
in
Interface AdminAccessRoleReaderInterface
Tags
Table of Contents
- getAll() : AdminAccessRoleCollection
- Returns all available roles as a role collection.
- getByCustomerId() : AdminAccessRoleCollection
- Returns all roles of a certain user by a given customer ID.
- getById() : AdminAccessRoleInterface
- Returns a role object by a given role ID.
Methods
getAll()
Returns all available roles as a role collection.
public
getAll() : AdminAccessRoleCollection
Return values
AdminAccessRoleCollection —Role collection with all available roles.
getByCustomerId()
Returns all roles of a certain user by a given customer ID.
public
getByCustomerId(IdType $customerId) : AdminAccessRoleCollection
Parameters
- $customerId : IdType
-
Customer ID.
Tags
Return values
AdminAccessRoleCollection —Role collection with all roles of a certain user.
getById()
Returns a role object by a given role ID.
public
getById(IdType $roleId) : AdminAccessRoleInterface
Parameters
- $roleId : IdType
-
Role ID.
Return values
AdminAccessRoleInterface —Role object.