Property | Type | Description | |
---|---|---|---|
$casts | array | Format the output. | |
$dates | array | The attributes that should be mutated to dates. | |
$fillable | array | The attributes that are mass assignable. | |
$hidden | array | The attributes excluded from the model's JSON form. |
Method | Description | |
---|---|---|
displayName ( ) : string | Display user's nickname, if not exist display username. | |
isNotActive ( ) : boolean | Whether the user is not active. | |
relations ( ) | Eager load relations on the model. |
public displayName ( ) : string | ||
return | string |
public isNotActive ( ) : boolean | ||
return | boolean |
protected array $dates | ||
return | array |
protected array $fillable | ||
return | array |