PHP Class Cviebrock\EloquentSluggable\Tests\Models\PostNotSluggable

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

Public Properties

Property Type Description
$timestamps boolean Indicates if the model should be timestamped.

Protected Properties

Property Type Description
$fillable array The attributes that are mass assignable.
$table string The table associated with the model.

Public Methods

Method Description
__toString ( ) : string Convert the model to its string representation.

Method Details

__toString() public method

Convert the model to its string representation.
public __toString ( ) : string
return string

Property Details

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
return array

$table protected_oe property

The table associated with the model.
protected string $table
return string

$timestamps public_oe property

Indicates if the model should be timestamped.
public bool $timestamps
return boolean