I have the following code in \'saved\' model event:
Session::flash(\'info\', \'Data has been saved.\')`
so everytime the model is saved I
Call the model Object then call unsetEventDispatcher after that you can do whatever you want without worrying about Event triggering
like this one:
$IncidentModel = new Incident; $IncidentModel->unsetEventDispatcher(); $incident = $IncidentModel->create($data);