app->singleton( \Illuminate\Contracts\Debug\ExceptionHandler::class, \App\HiLib\Exceptions\Handler::class ); Stringable::macro('then', function($callback) { return new Stringable($callback($this)); }); } /** * Bootstrap any application services. * * @return void */ public function boot() { DB::enableQueryLog(); } /** * Get the services provided by the provider. * * @return array */ public function provides() { // } }