PHP Класс AppBundle\Entity\User

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 )

Описание методов

eraseCredentials() публичный метод

Removes sensitive data from the user.
public eraseCredentials ( )

getEmail() публичный метод

public getEmail ( )

getGithubAccessToken() публичный метод

Returns the GitHub access token

getGithubId() публичный метод

Returns the GitHub user id
public getGithubId ( )

getId() публичный метод

public getId ( )

getPassword() публичный метод

public getPassword ( )

getRoles() публичный метод

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

getSalt() публичный метод

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

getUsername() публичный метод

public getUsername ( )

setEmail() публичный метод

public setEmail ( $email )

setGithubAccessToken() публичный метод

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

setGithubId() публичный метод

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

setPassword() публичный метод

public setPassword ( $password )

setRoles() публичный метод

public setRoles ( array $roles )
$roles array

setUsername() публичный метод

public setUsername ( $username )