PHP 트레잇 Esensi\Model\Traits\SoftDeletingModelTrait

또한 보기: Esensi\Model\Contracts\SoftDeletingModelInterface
저자: Daniel LaBarge ([email protected])
상속: use trait Illuminate\Database\Eloquent\SoftDeletes
파일 보기 프로젝트 열기: esensi/model

공개 메소드들

메소드 설명
bootSoftDeletes ( ) We want to boot our own observer so we stub out this boot method. This renders this function void.
bootSoftDeletingModelTrait ( ) Boot the trait's observers.
getDates ( ) : array Get the attributes that should be converted to dates.

메소드 상세

bootSoftDeletes() 공개 정적인 메소드

We want to boot our own observer so we stub out this boot method. This renders this function void.
public static bootSoftDeletes ( )

bootSoftDeletingModelTrait() 공개 정적인 메소드

Boot the trait's observers.
public static bootSoftDeletingModelTrait ( )

getDates() 공개 메소드

Overwriting this method here allows the developer to extend the dates using the $dates property without needing to maintain the "deleted_at" column.
public getDates ( ) : array
리턴 array