cascadeDelete()
cascadeDelete(\Cake\Datasource\EntityInterface $entity, array $options = array()) : boolean
Cascade a delete to remove dependent records.
This method does nothing if the association is not dependent.
Parameters
\Cake\Datasource\EntityInterface | $entity | The entity that started the cascaded delete. |
array | $options | The options for the original delete. |
Returns
boolean —Success.