메소드 |
설명 |
|
forceDelete ( ) |
Force a hard delete on a soft deleted model. |
|
getDeletedAtColumn ( ) : string |
Get the name of the "deleted at" column. |
|
getQualifiedDeletedAtColumn ( ) : string |
Get the fully qualified "deleted at" column. |
|
restore ( ) : boolean | null |
Restore a soft-deleted model instance. |
|
restored ( Closure | string $callback ) |
Register a restored model event with the dispatcher. |
|
restoring ( Closure | string $callback ) |
Register a restoring model event with the dispatcher. |
|
trashed ( ) : boolean |
Determine if the model instance has been soft-deleted. |
|