Свойство | Тип | Описание | |
---|---|---|---|
$fillable | |||
$table | string | Table name |
Метод | Описание | |
---|---|---|
category ( ) : |
One to many relation. | |
comments ( ) : Illuminate\Database\Eloquent\Relations\HasMany | One to many relation. | |
tags ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | Many to many relation. |
public category ( ) : |
||
Результат |
public comments ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
Результат | Illuminate\Database\Eloquent\Relations\HasMany |
public tags ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
Результат | Illuminate\Database\Eloquent\Relations\BelongsToMany |