| Total Complexity | 10 | 
| Total Lines | 68 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 11 | class DeletedBehavior extends Behavior | ||
| 12 | {
 | ||
| 13 | |||
| 14 | /** | ||
| 15 |      * {@inheritDoc}
 | ||
| 16 | */ | ||
| 17 | protected $_defaultConfig = [ | ||
| 18 | 'field' => 'deleted', | ||
| 19 | ]; | ||
| 20 | |||
| 21 | /** | ||
| 22 |      * {@inheritDoc}
 | ||
| 23 | */ | ||
| 24 | public function beforeFind(Event $event, Query $query) | ||
| 49 | } | ||
| 50 | |||
| 51 | /** | ||
| 52 |      * {@inheritDoc}
 | ||
| 53 | */ | ||
| 54 | public function beforeDelete(Event $event, EntityInterface $entity) | ||
| 81 |