PHP 클래스 Sulu\Bundle\SecurityBundle\Entity\RoleSettingRepository

상속: extends Sulu\Component\Persistence\Repository\ORM\EntityRepository
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
findSetting ( integer $roleId, string $key ) : Sulu\Component\Security\Authentication\RoleSettingInterface | null Returns role-setting object.
findSettingValue ( integer $roleId, string $key ) : mixed | null Returns value of given role-setting.

메소드 상세

findSetting() 공개 메소드

Returns role-setting object.
public findSetting ( integer $roleId, string $key ) : Sulu\Component\Security\Authentication\RoleSettingInterface | null
$roleId integer
$key string
리턴 Sulu\Component\Security\Authentication\RoleSettingInterface | null

findSettingValue() 공개 메소드

Returns value of given role-setting.
public findSettingValue ( integer $roleId, string $key ) : mixed | null
$roleId integer
$key string
리턴 mixed | null