Browse Source

Bind the kernels as singletons.

Taylor Otwell 9 years ago
parent
commit
aa8bf8a211
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bootstrap/app.php

+ 2 - 2
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'
 );