Implements cascading deletes for dependent associations.
Included by HasOne and HasMany association classes.
cascadeDelete() publicCascade a delete to remove dependent records.
cascadeDelete() public ¶
Cake\Datasource\EntityInterface $entity , array $options  )
Cascade a delete to remove dependent records.
This method does nothing if the association is not dependent.
- The entity that started the cascaded delete.
- array $options optional 
- The options for the original delete.