/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/Integration/Foundation/Fixtures/Providers/ThrowExceptionServiceProvider.php
17 строк
460 B
Bert
[9.x] Return non-zero exit code for uncaught exceptions (#46541)
06 апр 2023, 21:15
Не верифицирован
06 апр 2023, 21:15
6114330
Код
Авторство
О чём код?
<?php namespace Illuminate\Tests\Integration\Foundation\Fixtures\Providers; use Illuminate\Console\Application; use Illuminate\Support\ServiceProvider; use Illuminate\Tests\Integration\Foundation\Fixtures\Console\ThrowExceptionCommand; class ThrowExceptionServiceProvider extends ServiceProvider { public function boot() { Application::starting(function ($artisan) { $artisan->add(new ThrowExceptionCommand); }); } }