fire app shutdown event.

This commit is contained in:
Taylor Otwell 2013-03-08 10:52:24 -06:00
parent 89e4c29d63
commit 2a14998be9
2 changed files with 26 additions and 0 deletions

13
artisan
View File

@ -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();

View File

@ -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();