PHP Interface Spatie\ModelCleanup\GetsCleanedUp

Afficher le fichier Open project: spatie/laravel-model-cleanup

Méthodes publiques

Méthode Description
cleanUp ( Builder $query ) : Builder Returns a query that determines which models will get cleaned up. On cleanup, the delete method will be appended to the query.

Method Details

cleanUp() public static méthode

Returns a query that determines which models will get cleaned up. On cleanup, the delete method will be appended to the query.
public static cleanUp ( Builder $query ) : Builder
$query Illuminate\Database\Eloquent\Builder
Résultat Illuminate\Database\Eloquent\Builder