Terminate the request after sending.

This commit is contained in:
Taylor Otwell 2014-11-06 20:06:47 -06:00
parent 4b2694ce76
commit 46d1a27b77
1 changed files with 6 additions and 2 deletions

View File

@ -46,8 +46,12 @@
|
*/
$response = $app->make('Illuminate\Contracts\Http\Kernel')->handle(
Illuminate\Http\Request::capture()
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);