PHP 클래스 Cviebrock\EloquentSluggable\Tests\Models\PostNotSluggable

A test model that doesn't use the Sluggable package.
상속: extends Illuminate\Database\Eloquent\Model
파일 보기 프로젝트 열기: cviebrock/eloquent-sluggable 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$timestamps boolean Indicates if the model should be timestamped.

보호된 프로퍼티들

프로퍼티 타입 설명
$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