class DeleteFilterPolicy implements DeletePolicy (View source)

A policy that deletes the filtered rows.

Requires {\TractorCow\Fluent\Extension\FluentFilteredExtension} on the object

Methods

public
bool
delete(DataObject $record)

No description

Details

bool delete(DataObject $record)

No description

Parameters

DataObject $record

Return Value

bool

Determines if any dependent objects block upstream deletion (e.g. db / model constraints) If this returns true, then there are additional conditions that must be satisfied before upstream relational constraints are safe to delete. If this returns true, then all downstream entities are reported purged, and upstream relational constraints can be deleted.