PHP 클래스 AppBundle\Entity\User

파일 보기 프로젝트 열기: alfonsomga/symfony.demo.on.roids 1 사용 예제들

공개 메소드들

메소드 설명
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 )