PHP 인터페이스 Sulu\Component\Security\Authentication\RoleRepositoryInterface

상속: extends Sulu\Component\Persistence\Repository\RepositoryInterface
파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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