Property | Type | Description | |
---|---|---|---|
$id | integer | ||
$locale | string | ||
$role | Sulu\Component\Security\Authentication\RoleInterface | ||
$user | Sulu\Component\Security\Authentication\UserInterface |
Method | Description | |
---|---|---|
getId ( ) : integer | Get id. | |
getLocale ( ) : string | Get locale. | |
getLocales ( ) : array | Get Locales as array. | |
getRole ( ) : Sulu\Component\Security\Authentication\RoleInterface | Get role. | |
getUser ( ) : Sulu\Component\Security\Authentication\UserInterface | Get user. | |
setLocale ( string $locale ) : UserRole | Set locale. | |
setRole ( Sulu\Component\Security\Authentication\RoleInterface $role ) : UserRole | Set role. | |
setUser ( Sulu\Component\Security\Authentication\UserInterface $user ) : UserRole | Set user. |
public getRole ( ) : Sulu\Component\Security\Authentication\RoleInterface | ||
return | Sulu\Component\Security\Authentication\RoleInterface |
public getUser ( ) : Sulu\Component\Security\Authentication\UserInterface | ||
return | Sulu\Component\Security\Authentication\UserInterface |
public setRole ( Sulu\Component\Security\Authentication\RoleInterface $role ) : UserRole | ||
$role | Sulu\Component\Security\Authentication\RoleInterface | |
return | UserRole |
public setUser ( Sulu\Component\Security\Authentication\UserInterface $user ) : UserRole | ||
$user | Sulu\Component\Security\Authentication\UserInterface | |
return | UserRole |
protected RoleInterface,Sulu\Component\Security\Authentication $role | ||
return | Sulu\Component\Security\Authentication\RoleInterface |