Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) : |
Add roles. | |
getId ( ) : integer | Get id. | |
getName ( ) : string | Get name. | |
getRoles ( ) : Doctrine\Common\Collections\Collection | Get roles. | |
removeRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) | Remove roles. | |
setId ( integer $id ) | Set id. | |
setName ( string $name ) : |
Set name. |
public addRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) : |
||
$roles | Sulu\Component\Security\Authentication\RoleInterface | |
return |
public getRoles ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public removeRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) | ||
$roles | Sulu\Component\Security\Authentication\RoleInterface |