Laravel force delete event on relations
I'm developing a Laravel web app using Laravel 5.2. My question is very simple... How do I listen to a forceDelete event in order to forceDelete model relations? I've been looking around the web and S.O. for a few but all the questions/answers I've found where releted to the delete method, and also in the API documentation I haven't found very much... In my case I have a Registry model and a RegistryDetail model Registry table |id|name|surname|.... RegistryDetail table |id|id_registry|.... I've created for both this boot function: protected static function boot() { parent::boot(); static: