Closed pmaselkowski closed 6 years ago
Possibly should rely on #15
Another option is to use event on trait
Breaks Event/ParentChildTrashable
This must be registered manually, as it relies on owner save. And there is no way to tell if class property is somehow connected to other class.
However there is a helper class to address this issue:
Maslosoft\Mangan\Events\Handlers\ParentChildTrashHandler
Scenario:
Then