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
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.
public getHasTwoFactorAuthenticationAttribute ( ) : boolean
Результат boolean

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