Свойство | Тип | Описание | |
---|---|---|---|
$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 |
protected array $fillable | ||
Результат | array |