PHP 클래스 REBELinBLUE\Deployer\User

상속: extends Illuminate\Database\Eloquent\Model, implements Illuminate\Contracts\Auth\Authenticatable, implements Illuminate\Contracts\Auth\Access\Authorizable, implements Illuminate\Contracts\Auth\CanResetPassword, implements Robbo\Presenter\PresentableInterface, use trait Illuminate\Auth\Authenticatable, use trait Illuminate\Auth\Passwords\CanResetPassword, use trait Illuminate\Foundation\Auth\Access\Authorizable, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
파일 보기 프로젝트 열기: rebelinblue/deployer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$appends array Additional attributes to include in the JSON representation.
$casts array The attributes that should be casted to native types.
$fillable array The attributes that are mass assignable.
$hidden array The attributes excluded from the model's JSON form.

공개 메소드들

메소드 설명
__get ( string $key ) : mixed A hack to allow avatar_url to be called on the result of Auth::user().
getHasTwoFactorAuthenticationAttribute ( ) : boolean Determines whether the user has Google 2FA enabled.
getPresenter ( ) : UserPresenter Gets the view presenter.
requestEmailToken ( ) : string Generate a change email token.

메소드 상세

__get() 공개 메소드

A hack to allow avatar_url to be called on the result of Auth::user().
public __get ( string $key ) : mixed
$key string
리턴 mixed

getHasTwoFactorAuthenticationAttribute() 공개 메소드

Determines whether the user has Google 2FA enabled.

getPresenter() 공개 메소드

Gets the view presenter.
public getPresenter ( ) : UserPresenter
리턴 REBELinBLUE\Deployer\Presenters\UserPresenter

requestEmailToken() 공개 메소드

Generate a change email token.
public requestEmailToken ( ) : string
리턴 string

프로퍼티 상세

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

Additional attributes to include in the JSON representation.
protected array $appends
리턴 array

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

The attributes that should be casted to native types.
protected array $casts
리턴 array

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

The attributes that are mass assignable.
protected array $fillable
리턴 array

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

The attributes excluded from the model's JSON form.
protected array $hidden
리턴 array