class UnknownUser implements UserInterface

데이터베이스에서 회원정보를 찾을 수 없는 상태의 회원을 위한 객체 클래스

Properties

static protected string $name getDisplayName()메소드가 호출될 때, 반환될 이름
static protected string $profileImage
protected $attributes

Methods

__construct(array $attributes = array())

UnknownUser constructor.

string
getId()

Get the unique identifier

string
getDisplayName()

Get the name for display

string
getRating()

Get the rating of user

static void
setName(string $name)

Unknown 회원이 사용할 DisplayName을 지정한다.

static void
setDefaultProfileImage(string $img)

Set a guest profile image

string
getProfileImage()

Get profile image URL of user

array
getGroups()

Get groups a user belongs

string
getStatus()

Get the status of user

mixed
getAuthIdentifier()

Get the unique identifier for the user.

string
getAuthPassword()

Get the password for the user.

string
getRememberToken()

Get the token value for the "remember me" session.

void
setRememberToken(string $value)

Set the token value for the "remember me" session.

string
getRememberTokenName()

Get the column name for the "remember me" token.

void
setEmailForPasswordReset(string $email)

setEmailForPasswordReset() 메소드에서 반환할 email 정보를 지정한다.

string
getEmailForPasswordReset()

Get the e-mail address where password reset links are sent.

void
throwNotSupportedException()

throw NotSupportedException

null
getPendingEmail()

Get Pending Email of current user

null
getAccountByProvider(string $provider)

회원이 소유한 계정 중에 주어진 provider를 가진 계정을 반환한다.

boolean
isAdmin()

Finds whether user has super rating.

boolean
isManager()

Finds whether user has manager or super rating.

joinGroups(mixed $groups)

add this user to groups

leaveGroups(array $groups)

leave groups

void
setLoginTime(mixed $time = null)

최종 로그인 시간을 기록한다.

Details

at line 51
__construct(array $attributes = array())

UnknownUser constructor.

Parameters

array $attributes unknown user's initial information

at line 61
string getId()

Get the unique identifier

Return Value

string

at line 71
string getDisplayName()

Get the name for display

Return Value

string

at line 81
string getRating()

Get the rating of user

Return Value

string

at line 93
static void setName(string $name)

Unknown 회원이 사용할 DisplayName을 지정한다.

Parameters

string $name name that represents the guest

Return Value

void

at line 105
static void setDefaultProfileImage(string $img)

Set a guest profile image

Parameters

string $img url of image that represents the guest

Return Value

void

at line 115
string getProfileImage()

Get profile image URL of user

Return Value

string

at line 125
array getGroups()

Get groups a user belongs

Return Value

array

at line 135
string getStatus()

Get the status of user

Return Value

string

at line 145
mixed getAuthIdentifier()

Get the unique identifier for the user.

Return Value

mixed

at line 155
string getAuthPassword()

Get the password for the user.

Return Value

string

at line 165
string getRememberToken()

Get the token value for the "remember me" session.

Return Value

string

at line 177
void setRememberToken(string $value)

Set the token value for the "remember me" session.

Parameters

string $value token value

Return Value

void

at line 187
string getRememberTokenName()

Get the column name for the "remember me" token.

Return Value

string

at line 199
void setEmailForPasswordReset(string $email)

setEmailForPasswordReset() 메소드에서 반환할 email 정보를 지정한다.

Parameters

string $email 지정할 email주소

Return Value

void

at line 209
string getEmailForPasswordReset()

Get the e-mail address where password reset links are sent.

Return Value

string

at line 219
private void throwNotSupportedException()

throw NotSupportedException

Return Value

void

at line 229
null getPendingEmail()

Get Pending Email of current user

Return Value

null

at line 241
null getAccountByProvider(string $provider)

회원이 소유한 계정 중에 주어진 provider를 가진 계정을 반환한다.

Parameters

string $provider provider

Return Value

null

at line 251
boolean isAdmin()

Finds whether user has super rating.

Return Value

boolean

at line 261
boolean isManager()

Finds whether user has manager or super rating.

Return Value

boolean

at line 274
UnknownUser joinGroups(mixed $groups)

add this user to groups

Parameters

mixed $groups groups

Return Value

UnknownUser

at line 286
UnknownUser leaveGroups(array $groups)

leave groups

Parameters

array $groups groups

Return Value

UnknownUser

at line 298
void setLoginTime(mixed $time = null)

최종 로그인 시간을 기록한다.

Parameters

mixed $time 로그인 시간

Return Value

void