SoftDeletes (Database\Eloquent)

SoftDeletes

trait SoftDeletes (View source)

Methods

static void bootSoftDeletes()

Boot the soft deleting trait for a model.

bool|null forceDelete()

Force a hard delete on a soft deleted model.

bool|null restore()

Restore a soft-deleted model instance.

登录查看完整内容