File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Trash
22
33[ ![ Build Status] ( https://img.shields.io/travis/UseMuffin/Trash/master.svg?style=flat-square )] ( https://travis-ci.org/UseMuffin/Trash )
4- [ ![ Coverage] ( https://img.shields.io/coveralls/ UseMuffin/Trash/master.svg?style=flat-square )] ( https://coveralls .io/r /UseMuffin/Trash )
4+ [ ![ Coverage] ( https://img.shields.io/codecov/c/github/ UseMuffin/Trash/master.svg?style=flat-square )] ( https://codecov .io/github /UseMuffin/Trash )
55[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/muffin/trash.svg?style=flat-square )] ( https://packagist.org/packages/muffin/trash )
66[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square )] ( LICENSE )
77
@@ -63,11 +63,11 @@ $this->addBehavior('Muffin/Trash.Trash', [
6363```
6464
6565### Cascading deletion
66- If you'd like to have related records marked as trashed when deleting a parent item, you can just attach the behavior
67- to the related table classes, and set the ` 'dependent' => true, 'cascadeCallbacks' => true ` options in the table
66+ If you'd like to have related records marked as trashed when deleting a parent item, you can just attach the behavior
67+ to the related table classes, and set the ` 'dependent' => true, 'cascadeCallbacks' => true ` options in the table
6868relationships.
6969
70- This works on relationships where the item being deleted in the owning side of the relationship. Which means that the
70+ This works on relationships where the item being deleted in the owning side of the relationship. Which means that the
7171related table should contain the foreign key.
7272
7373### Custom Finders
You can’t perform that action at this time.
0 commit comments