PHP Interface Sulu\Component\Security\Authentication\UserInterface

Inheritance: extends Symfony\Component\Security\Core\User\UserInterface
Exibir arquivo Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getEnabled ( ) : boolean Get enabled.
getFullName ( ) : string Returns the full name of the user.
getId ( ) : integer Returns the ID of the User.
getLocale ( ) : string Returns the locale of the user.
getLocked ( ) : boolean Get locked.
getRoleObjects ( ) : Sulu\Component\Security\Authentication\RoleInterface[] Returns all the roles the user has assigned.

Method Details

getEnabled() public method

Get enabled.
public getEnabled ( ) : boolean
return boolean

getFullName() public method

Returns the full name of the user.
public getFullName ( ) : string
return string

getId() public method

Returns the ID of the User.
public getId ( ) : integer
return integer

getLocale() public method

Returns the locale of the user.
public getLocale ( ) : string
return string Users locale

getLocked() public method

Get locked.
public getLocked ( ) : boolean
return boolean

getRoleObjects() public method

Returns all the roles the user has assigned.
public getRoleObjects ( ) : Sulu\Component\Security\Authentication\RoleInterface[]
return Sulu\Component\Security\Authentication\RoleInterface[]