From aa8bf8a211fed6413e5c27a687b2a9f227480a3f Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 25 Oct 2014 21:27:57 -0500 Subject: [PATCH] Bind the kernels as singletons. --- bootstrap/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index c696f3bf..66bdfdf5 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -26,12 +26,12 @@ $app = new Illuminate\Foundation\Application( | */ -$app->bind( +$app->singleton( 'Illuminate\Contracts\Http\Kernel', 'App\Http\Kernel' ); -$app->bind( +$app->singleton( 'Illuminate\Contracts\Console\Kernel', 'App\Console\Kernel' );