PHP Interface Sulu\Component\Security\Authentication\RoleSettingInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
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.

Method Details

getId() public method

Get id.
public getId ( ) : integer
return integer

getKey() public method

Get key.
public getKey ( ) : string
return string

getRole() public method

Get role.
public getRole ( ) : Sulu\Component\Security\Authentication\RoleSettingInterface
return Sulu\Component\Security\Authentication\RoleSettingInterface

getValue() public method

Get value.
public getValue ( ) : array
return array

setKey() public method

Set key.
public setKey ( string $key ) : Sulu\Component\Security\Authentication\RoleSettingInterface
$key string
return Sulu\Component\Security\Authentication\RoleSettingInterface

setRole() public method

Set role.
public setRole ( Sulu\Component\Security\Authentication\RoleInterface $role = null ) : Sulu\Component\Security\Authentication\RoleSettingInterface
$role Sulu\Component\Security\Authentication\RoleInterface
return Sulu\Component\Security\Authentication\RoleSettingInterface

setValue() public method

Set value.
public setValue ( array $value ) : Sulu\Component\Security\Authentication\RoleSettingInterface
$value array
return Sulu\Component\Security\Authentication\RoleSettingInterface