Property | Type | Description | |
---|---|---|---|
$id | integer | ||
$password | string | ||
$roles | array | ||
$username | string |
Method | Description | |
---|---|---|
eraseCredentials ( ) | ||
getId ( ) : integer | Get id. | |
getPassword ( ) : string | Get password. | |
getRoles ( ) : array | Get roles. | |
getSalt ( ) | ||
getUsername ( ) : string | Get username. | |
setPassword ( string $password ) : |
Set password. | |
setRoles ( array $roles ) : |
Set roles. | |
setUsername ( string $username ) : |
Set username. |
public setPassword ( string $password ) : |
||
$password | string | |
return |
public setUsername ( string $username ) : |
||
$username | string | |
return |