Property | Type | Description | |
---|---|---|---|
$displayField | getDisplayName()메소드가 실행될 때 사용할 필드 | ||
$incrementing |
Property | Type | Description | |
---|---|---|---|
$connection | |||
$dates | |||
$dynamic | use dynamic query | ||
$emailForPasswordReset | 비밀번호 초기화 요청을 처리할 때, 입력된 이메일을 저장함 | ||
$fillable | |||
$hidden | |||
$profileImageResolver | 회원의 프로필 이미지 Resolver. 프로필 이미지 아이디에 해당하는 프로필 이미지 URL을 반환한다. | ||
$table |
Method | Description | |
---|---|---|
__construct ( array $attributes = [] ) | User constructor. | |
accounts ( ) : Illuminate\Database\Eloquent\Relations\HasMany | set relationship with user accounts | |
emails ( ) : Illuminate\Database\Eloquent\Relations\HasMany | set relationship with emails | |
getAccountByProvider ( string $provider ) : |
회원이 소유한 계정 중에 주어진 provider를 가진 계정을 반환한다. | |
getAuthIdentifier ( ) : mixed | Get the unique identifier for the user. | |
getAuthPassword ( ) : string | Get the password for the user. | |
getDisplayName ( ) : string | Get the name for display | |
getEmailForPasswordReset ( ) : string | Get the e-mail address where password reset links are sent. | |
getGroups ( ) : array | Get groups a user belongs | |
getId ( ) : string | Get the unique identifier | |
getPendingEmail ( ) : |
Get Pending Email of current user | |
getProfileImage ( ) : string | Get profile image URL of user | |
getRating ( ) : string | Get the rating of user | |
getRememberToken ( ) : string | Get the token value for the "remember me" session. | |
getRememberTokenName ( ) : string | Get the column name for the "remember me" token. | |
getStatus ( ) : string | Get the status of user | |
groups ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | set relationship with user groups | |
isAdmin ( ) : boolean | Finds whether user has super rating. | |
isManager ( ) : boolean | Finds whether user has manager or super rating. | |
joinGroups ( mixed $groups ) : static | add this user to groups | |
leaveGroups ( array $groups ) : static | leave groups | |
pendingEmail ( ) : Illuminate\Database\Eloquent\Relations\HasOne | set relationship with pendingEmail | |
setEmailForPasswordReset ( string $email ) : void | setEmailForPasswordReset() 메소드에서 반환할 email 정보를 지정한다. | |
setProfileImageResolver ( Closure $callback ) : void | setProfileImageResolver | |
setRememberToken ( string $value ) : void | Set the token value for the "remember me" session. |
public __construct ( array $attributes = [] ) | ||
$attributes | array | attributes |
public accounts ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
return | Illuminate\Database\Eloquent\Relations\HasMany |
public emails ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
return | Illuminate\Database\Eloquent\Relations\HasMany |
public getAccountByProvider ( string $provider ) : |
||
$provider | string | provider |
return |
public getAuthIdentifier ( ) : mixed | ||
return | mixed |
public getAuthPassword ( ) : string | ||
return | string |
public getDisplayName ( ) : string | ||
return | string |
public getEmailForPasswordReset ( ) : string | ||
return | string |
public getPendingEmail ( ) : |
||
return |
public getProfileImage ( ) : string | ||
return | string |
public getRememberToken ( ) : string | ||
return | string |
public getRememberTokenName ( ) : string | ||
return | string |
public groups ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
return | Illuminate\Database\Eloquent\Relations\BelongsToMany |
public joinGroups ( mixed $groups ) : static | ||
$groups | mixed | groups |
return | static |
public leaveGroups ( array $groups ) : static | ||
$groups | array | groups |
return | static |
public pendingEmail ( ) : Illuminate\Database\Eloquent\Relations\HasOne | ||
return | Illuminate\Database\Eloquent\Relations\HasOne |
public setEmailForPasswordReset ( string $email ) : void | ||
string | 지정할 email주소 | |
return | void |
public static setProfileImageResolver ( Closure $callback ) : void | ||
$callback | Closure | 회원의 프로필 이미지를 처리하기 위한 resolver |
return | void |
public setRememberToken ( string $value ) : void | ||
$value | string | value |
return | void |
protected $emailForPasswordReset |
protected static $profileImageResolver |