PHP Class Jarves\Model\User

Inheritance: extends Jarves\Model\Base\User, implements Symfony\Component\Security\Core\User\UserInterface
Afficher le fichier Open project: jarves/jarves Class Usage Examples

Protected Properties

Свойство Type Description
$cachedGroupIds

Méthodes publiques

Méthode Description
__toString ( )
eraseCredentials ( )
getGroupIds ( ) : string
getGroupIdsArray ( )
getGroupRoles ( ) : string[] Return all groups, converted it names to role names.
getRoles ( )
getSalt ( )
hasRole ( string $role ) : boolean

Method Details

__toString() public méthode

public __toString ( )

eraseCredentials() public méthode

public eraseCredentials ( )

getGroupIds() public méthode

public getGroupIds ( ) : string
Résultat string comma separated list of ids

getGroupIdsArray() public méthode

public getGroupIdsArray ( )

getGroupRoles() public méthode

Return all groups, converted it names to role names.
public getGroupRoles ( ) : string[]
Résultat string[]

getRoles() public méthode

public getRoles ( )

getSalt() public méthode

public getSalt ( )

hasRole() public méthode

public hasRole ( string $role ) : boolean
$role string
Résultat boolean

Property Details

$cachedGroupIds protected_oe property

protected $cachedGroupIds