mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Bind the kernels as singletons.
This commit is contained in:
parent
d70914b84d
commit
aa8bf8a211
@ -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'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user