芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/nunomaduro/collision/src/Adapters/Laravel/CollisionServiceProvider.php
commands([ TestCommand::class, ]); } /** * {@inheritdoc} */ public function register() { if ($this->app->runningInConsole() && !$this->app->runningUnitTests()) { $this->app->bind(ProviderContract::class, function () { if ($this->app->has(\Facade\IgnitionContracts\SolutionProviderRepository::class)) { $solutionsRepository = new IgnitionSolutionsRepository( $this->app->get(\Facade\IgnitionContracts\SolutionProviderRepository::class) ); } else { $solutionsRepository = new NullSolutionsRepository(); } $writer = new Writer($solutionsRepository); $handler = new Handler($writer); return new Provider(null, $handler); }); $appExceptionHandler = $this->app->make(ExceptionHandlerContract::class); $this->app->singleton( ExceptionHandlerContract::class, function ($app) use ($appExceptionHandler) { return new ExceptionHandler($app, $appExceptionHandler); } ); } } /** * {@inheritdoc} */ public function provides() { return [ProviderContract::class]; } }