Implements cascading deletes for dependent associations.
Included by HasOne and HasMany association classes.
cascadeDelete( Cake\Datasource\EntityInterface $entity , array $options [] )
Cascade a delete to remove dependent records.
This method does nothing if the association is not dependent.
Cake\Datasource\EntityInterface
$entity
$options
optional [] boolean
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/class-Cake.ORM.Association.DependentDeleteTrait.html