Свойство | Тип | Описание | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$primaryKey | string | The primary key for the model. | |
$table | string | The table associated with the model. |
Метод | Описание | |
---|---|---|
__toString ( ) : string | Convert the model to its string representation. | |
setNameAttribute ( string $value ) | Set the name attribute on the model. |
public __toString ( ) : string | ||
Результат | string |
public setNameAttribute ( string $value ) | ||
$value | string |
protected array $fillable | ||
Результат | array |
protected string $primaryKey | ||
Результат | string |
protected string $table | ||
Результат | string |