mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
fire app shutdown event.
This commit is contained in:
parent
89e4c29d63
commit
2a14998be9
13
artisan
13
artisan
@ -57,3 +57,16 @@ $artisan = Illuminate\Console\Application::start($app);
|
||||
*/
|
||||
|
||||
$artisan->run();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Shutdown The Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Once Artisan has finished running. We will fire off the shutdown events
|
||||
| so that any final work may be done by the application before we shut
|
||||
| down the process. This is the last thing to happen to the request.
|
||||
|
|
||||
*/
|
||||
|
||||
$app->shutdown();
|
@ -49,3 +49,16 @@ $app = require_once __DIR__.'/../bootstrap/start.php';
|
||||
*/
|
||||
|
||||
$app->run();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Shutdown The Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Once Artisan has finished running. We will fire off the shutdown events
|
||||
| so that any final work may be done by the application before we shut
|
||||
| down the process. This is the last thing to happen to the request.
|
||||
|
|
||||
*/
|
||||
|
||||
$app->shutdown();
|
Loading…
x
Reference in New Issue
Block a user