프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | string |