PHP Class REBELinBLUE\Deployer\User

Inheritance: 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
Afficher le fichier Open project: rebelinblue/deployer Class Usage Examples

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__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.

Method Details

__get() public méthode

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

getHasTwoFactorAuthenticationAttribute() public méthode

Determines whether the user has Google 2FA enabled.

getPresenter() public méthode

Gets the view presenter.
public getPresenter ( ) : UserPresenter
Résultat REBELinBLUE\Deployer\Presenters\UserPresenter

requestEmailToken() public méthode

Generate a change email token.
public requestEmailToken ( ) : string
Résultat string

Property Details

$appends protected_oe property

Additional attributes to include in the JSON representation.
protected array $appends
Résultat array

$casts protected_oe property

The attributes that should be casted to native types.
protected array $casts
Résultat array

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$hidden protected_oe property

The attributes excluded from the model's JSON form.
protected array $hidden
Résultat array