프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
getProjectCountAttribute ( ) : integer | Define a accessor for the count of projects. | |
projects ( ) : Illuminate\Database\Eloquent\Relations\HasMany | Has many relationship. |
public getProjectCountAttribute ( ) : integer | ||
리턴 | integer |
public projects ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
리턴 | Illuminate\Database\Eloquent\Relations\HasMany |
protected array $appends | ||
리턴 | array |
protected array $casts | ||
리턴 | array |