interface UserInterface implements Authenticatable, CanResetPassword

회원 정보를 저장하는 클래스가 구현해야 하는 인터페이스

Methods

void
setEmailForPasswordReset(string $email)

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

void
setLoginTime(mixed $time = null)

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

string
getId()

Get the unique identifier

string
getDisplayName()

Get the name for display

string
getRating()

Get the rating of user

boolean
isAdmin()

Finds whether user has super rating.

boolean
isManager()

Finds whether user has manager or super rating.

string
getStatus()

Get the status of user

string
getProfileImage()

Get profile image URL of user

array
getGroups()

Get groups a user belongs

getPendingEmail()

Get Pending Email of current user

getAccountByProvider(string $provider)

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

joinGroups(mixed $groups)

add this user to groups

leaveGroups(array $groups)

leave groups

Details

in Authenticatable at line 38
void setEmailForPasswordReset(string $email)

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

Parameters

string $email 지정할 email주소

Return Value

void

in Authenticatable at line 47
void setLoginTime(mixed $time = null)

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

Parameters

mixed $time 로그인 시간

Return Value

void

at line 36
string getId()

Get the unique identifier

Return Value

string

at line 43
string getDisplayName()

Get the name for display

Return Value

string

at line 50
string getRating()

Get the rating of user

Return Value

string

at line 57
boolean isAdmin()

Finds whether user has super rating.

Return Value

boolean

at line 64
boolean isManager()

Finds whether user has manager or super rating.

Return Value

boolean

at line 71
string getStatus()

Get the status of user

Return Value

string

at line 78
string getProfileImage()

Get profile image URL of user

Return Value

string

at line 85
array getGroups()

Get groups a user belongs

Return Value

array

at line 92
EmailInterface getPendingEmail()

Get Pending Email of current user

Return Value

EmailInterface

at line 101
AccountInterface getAccountByProvider(string $provider)

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

Parameters

string $provider provider

Return Value

AccountInterface

at line 110
UserInterface joinGroups(mixed $groups)

add this user to groups

Parameters

mixed $groups groups

Return Value

UserInterface

at line 119
UserInterface leaveGroups(array $groups)

leave groups

Parameters

array $groups group names

Return Value

UserInterface