PHP 클래스 Sulu\Bundle\SecurityBundle\Entity\BaseUserRole

상속: extends Sulu\Bundle\CoreBundle\Entity\ApiEntity
파일 보기 프로젝트 열기: sulu/sulu

보호된 프로퍼티들

프로퍼티 타입 설명
$id integer
$locale string
$role Sulu\Component\Security\Authentication\RoleInterface
$user Sulu\Component\Security\Authentication\UserInterface

공개 메소드들

메소드 설명
getId ( ) : integer Get id.
getLocale ( ) : string Get locale.
getLocales ( ) : array Get Locales as array.
getRole ( ) : Sulu\Component\Security\Authentication\RoleInterface Get role.
getUser ( ) : Sulu\Component\Security\Authentication\UserInterface Get user.
setLocale ( string $locale ) : UserRole Set locale.
setRole ( Sulu\Component\Security\Authentication\RoleInterface $role ) : UserRole Set role.
setUser ( Sulu\Component\Security\Authentication\UserInterface $user ) : UserRole Set user.

메소드 상세

getId() 공개 메소드

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

getLocale() 공개 메소드

Get locale.
public getLocale ( ) : string
리턴 string

getLocales() 공개 메소드

Get Locales as array.
public getLocales ( ) : array
리턴 array

getRole() 공개 메소드

Get role.
public getRole ( ) : Sulu\Component\Security\Authentication\RoleInterface
리턴 Sulu\Component\Security\Authentication\RoleInterface

getUser() 공개 메소드

Get user.
public getUser ( ) : Sulu\Component\Security\Authentication\UserInterface
리턴 Sulu\Component\Security\Authentication\UserInterface

setLocale() 공개 메소드

Set locale.
public setLocale ( string $locale ) : UserRole
$locale string
리턴 UserRole

setRole() 공개 메소드

Set role.
public setRole ( Sulu\Component\Security\Authentication\RoleInterface $role ) : UserRole
$role Sulu\Component\Security\Authentication\RoleInterface
리턴 UserRole

setUser() 공개 메소드

Set user.
public setUser ( Sulu\Component\Security\Authentication\UserInterface $user ) : UserRole
$user Sulu\Component\Security\Authentication\UserInterface
리턴 UserRole

프로퍼티 상세

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

protected int $id
리턴 integer

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

protected string $locale
리턴 string

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

protected RoleInterface,Sulu\Component\Security\Authentication $role
리턴 Sulu\Component\Security\Authentication\RoleInterface

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

protected UserInterface,Sulu\Component\Security\Authentication $user
리턴 Sulu\Component\Security\Authentication\UserInterface