PHP Interface Sulu\Component\Security\Authentication\RoleRepositoryInterface

Inheritance: extends Sulu\Component\Persistence\Repository\RepositoryInterface
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
findAllRoles ( ) : array Searches for all roles.
findRoleById ( integer $id ) : Sulu\Component\Security\Authentication\RoleInterface Finds a role with a specific id.
getRoleNames ( ) : array Return an array containing the names of all the roles.

Method Details

findAllRoles() public méthode

Searches for all roles.
public findAllRoles ( ) : array
Résultat array

findRoleById() public méthode

Finds a role with a specific id.
public findRoleById ( integer $id ) : Sulu\Component\Security\Authentication\RoleInterface
$id integer id of the role
Résultat Sulu\Component\Security\Authentication\RoleInterface

getRoleNames() public méthode

Return an array containing the names of all the roles.
public getRoleNames ( ) : array
Résultat array