PHP Class AppBundle\Entity\User

Afficher le fichier Open project: alfonsomga/symfony.demo.on.roids Class Usage Examples

Méthodes publiques

Méthode Description
eraseCredentials ( ) Removes sensitive data from the user.
getEmail ( )
getGithubAccessToken ( ) Returns the GitHub access token
getGithubId ( ) Returns the GitHub user id
getId ( )
getPassword ( )
getRoles ( ) Returns the roles or permissions granted to the user for security.
getSalt ( ) Returns the salt that was originally used to encode the password.
getUsername ( )
setEmail ( $email )
setGithubAccessToken ( $github_access_token ) Set GitHub access token
setGithubId ( $github_id ) Set GitHub user id
setPassword ( $password )
setRoles ( array $roles )
setUsername ( $username )

Method Details

eraseCredentials() public méthode

Removes sensitive data from the user.
public eraseCredentials ( )

getEmail() public méthode

public getEmail ( )

getGithubAccessToken() public méthode

Returns the GitHub access token

getGithubId() public méthode

Returns the GitHub user id
public getGithubId ( )

getId() public méthode

public getId ( )

getPassword() public méthode

public getPassword ( )

getRoles() public méthode

Returns the roles or permissions granted to the user for security.
public getRoles ( )

getSalt() public méthode

Returns the salt that was originally used to encode the password.
public getSalt ( )

getUsername() public méthode

public getUsername ( )

setEmail() public méthode

public setEmail ( $email )

setGithubAccessToken() public méthode

Set GitHub access token
public setGithubAccessToken ( $github_access_token )
$github_access_token

setGithubId() public méthode

Set GitHub user id
public setGithubId ( $github_id )
$github_id

setPassword() public méthode

public setPassword ( $password )

setRoles() public méthode

public setRoles ( array $roles )
$roles array

setUsername() public méthode

public setUsername ( $username )