PHP 클래스 AuthBucket\Bundle\OAuth2Bundle\Tests\TestBundle\Entity\User

상속: implements AuthBucket\OAuth2\Model\ModelInterface, implements Symfony\Component\Security\Core\User\UserInterface
파일 보기 프로젝트 열기: authbucket/oauth2-symfony-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$id integer
$password string
$roles array
$username string

공개 메소드들

메소드 설명
eraseCredentials ( )
getId ( ) : integer Get id.
getPassword ( ) : string Get password.
getRoles ( ) : array Get roles.
getSalt ( )
getUsername ( ) : string Get username.
setPassword ( string $password ) : User Set password.
setRoles ( array $roles ) : User Set roles.
setUsername ( string $username ) : User Set username.

메소드 상세

eraseCredentials() 공개 메소드

public eraseCredentials ( )

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getPassword() 공개 메소드

Get password.
public getPassword ( ) : string
리턴 string

getRoles() 공개 메소드

Get roles.
public getRoles ( ) : array
리턴 array

getSalt() 공개 메소드

public getSalt ( )

getUsername() 공개 메소드

Get username.
public getUsername ( ) : string
리턴 string

setPassword() 공개 메소드

Set password.
public setPassword ( string $password ) : User
$password string
리턴 User

setRoles() 공개 메소드

Set roles.
public setRoles ( array $roles ) : User
$roles array
리턴 User

setUsername() 공개 메소드

Set username.
public setUsername ( string $username ) : User
$username string
리턴 User

프로퍼티 상세

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$password 보호되어 있는 프로퍼티

protected string $password
리턴 string

$roles 보호되어 있는 프로퍼티

protected array $roles
리턴 array

$username 보호되어 있는 프로퍼티

protected string $username
리턴 string