PHP Class Jarves\Model\User

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

Protected Properties

Property Type Description
$cachedGroupIds

Public Methods

Method 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 method

public __toString ( )

eraseCredentials() public method

public eraseCredentials ( )

getGroupIds() public method

public getGroupIds ( ) : string
return string comma separated list of ids

getGroupIdsArray() public method

public getGroupIdsArray ( )

getGroupRoles() public method

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

getRoles() public method

public getRoles ( )

getSalt() public method

public getSalt ( )

hasRole() public method

public hasRole ( string $role ) : boolean
$role string
return boolean

Property Details

$cachedGroupIds protected_oe property

protected $cachedGroupIds