/** * Register any other events for your application. * * @param \Illuminate\Contracts\Events\Dispatcher $events * @return void */ public function boot(DispatcherContract $events) { parent::boot($events); \App\Device::observe('App\\Observers\\DeviceObserver'); \App\DeviceType::observe('App\\Observers\\DeviceTypeObserver'); \App\DeviceLocation::observe('App\\Observers\\DeviceLocationObserver'); \App\User::observe('App\\Observers\\UserObserver'); }