trait
Illuminate
/
Database
/
Eloquent
/
Prunable
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Prunable
Methods
public
pruneAll ( int $chunkSize ) : int
Prune all prunable models in the database.
Parameters
- $chunkSize int
public
prune ( ) : bool|null
Prune the model in the database.
protected
pruning ( ) : void
Prepare the model for pruning.