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

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getId ( ) : integer Get id.
getKey ( ) : string Get key.
getRole ( ) : Sulu\Component\Security\Authentication\RoleSettingInterface Get role.
getValue ( ) : array Get value.
setKey ( string $key ) : Sulu\Component\Security\Authentication\RoleSettingInterface Set key.
setRole ( Sulu\Component\Security\Authentication\RoleInterface $role = null ) : Sulu\Component\Security\Authentication\RoleSettingInterface Set role.
setValue ( array $value ) : Sulu\Component\Security\Authentication\RoleSettingInterface Set value.

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

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

Get id.
public getId ( ) : integer
Результат integer

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

Get key.
public getKey ( ) : string
Результат string

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

Get role.
public getRole ( ) : Sulu\Component\Security\Authentication\RoleSettingInterface
Результат Sulu\Component\Security\Authentication\RoleSettingInterface

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

Get value.
public getValue ( ) : array
Результат array

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

Set key.
public setKey ( string $key ) : Sulu\Component\Security\Authentication\RoleSettingInterface
$key string
Результат Sulu\Component\Security\Authentication\RoleSettingInterface

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

Set role.
public setRole ( Sulu\Component\Security\Authentication\RoleInterface $role = null ) : Sulu\Component\Security\Authentication\RoleSettingInterface
$role Sulu\Component\Security\Authentication\RoleInterface
Результат Sulu\Component\Security\Authentication\RoleSettingInterface

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

Set value.
public setValue ( array $value ) : Sulu\Component\Security\Authentication\RoleSettingInterface
$value array
Результат Sulu\Component\Security\Authentication\RoleSettingInterface