PHP Class Cviebrock\EloquentSluggable\Tests\Models\PostNotSluggable

A test model that doesn't use the Sluggable package.
Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: cviebrock/eloquent-sluggable Class Usage Examples

Méthodes publiques

Свойство Type Description
$timestamps boolean Indicates if the model should be timestamped.

Protected Properties

Свойство Type Description
$fillable array The attributes that are mass assignable.
$table string The table associated with the model.

Méthodes publiques

Méthode Description
__toString ( ) : string Convert the model to its string representation.

Method Details

__toString() public méthode

Convert the model to its string representation.
public __toString ( ) : string
Résultat string

Property Details

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$table protected_oe property

The table associated with the model.
protected string $table
Résultat string

$timestamps public_oe property

Indicates if the model should be timestamped.
public bool $timestamps
Résultat boolean