format('U'); });*/ $this->app->bind('setting', SettingRepository::class); View::share('moduleSvc', app(ModuleService::class)); // Model observers Aircraft::observe(AircraftObserver::class); Airport::observe(AirportObserver::class); Journal::observe(JournalObserver::class); JournalTransaction::observe(JournalTransactionObserver::class); PirepField::observe(PirepFieldObserver::class); Setting::observe(SettingObserver::class); Subfleet::observe(SubfleetObserver::class); } /** * Register any application services. */ public function register(): void { # Only dev environment stuff if ($this->app->environment() === 'dev') { # Only load the IDE helper if it's included. This lets use distribute the # package without any dev dependencies if (class_exists(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class)) { $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); } } } }