PHP Класс Cviebrock\EloquentSluggable\Tests\Models\PostNotSluggable

A test model that doesn't use the Sluggable package.
Наследование: extends Illuminate\Database\Eloquent\Model
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$timestamps boolean Indicates if the model should be timestamped.

Защищенные свойства (Protected)

Свойство Тип Описание
$fillable array The attributes that are mass assignable.
$table string The table associated with the model.

Открытые методы

Метод Описание
__toString ( ) : string Convert the model to its string representation.

Описание методов

__toString() публичный Метод

Convert the model to its string representation.
public __toString ( ) : string
Результат string

Описание свойств

$fillable защищенное свойство

The attributes that are mass assignable.
protected array $fillable
Результат array

$table защищенное свойство

The table associated with the model.
protected string $table
Результат string

$timestamps публичное свойство

Indicates if the model should be timestamped.
public bool $timestamps
Результат boolean