PHP Интерфейс Sulu\Component\Security\Authentication\RoleRepositoryInterface

Наследование: extends Sulu\Component\Persistence\Repository\RepositoryInterface
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

findAllRoles() публичный Метод

Searches for all roles.
public findAllRoles ( ) : array
Результат array

findRoleById() публичный Метод

Finds a role with a specific id.
public findRoleById ( integer $id ) : Sulu\Component\Security\Authentication\RoleInterface
$id integer id of the role
Результат Sulu\Component\Security\Authentication\RoleInterface

getRoleNames() публичный Метод

Return an array containing the names of all the roles.
public getRoleNames ( ) : array
Результат array