PHP Class Sulu\Bundle\SecurityBundle\Entity\RoleSettingRepository

Inheritance: extends Sulu\Component\Persistence\Repository\ORM\EntityRepository
Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
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.

Method Details

findSetting() public méthode

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

findSettingValue() public méthode

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