Bind the kernels as singletons.
This commit is contained in:
parent
d70914b84d
commit
aa8bf8a211
|
|
@ -26,12 +26,12 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app->bind(
|
$app->singleton(
|
||||||
'Illuminate\Contracts\Http\Kernel',
|
'Illuminate\Contracts\Http\Kernel',
|
||||||
'App\Http\Kernel'
|
'App\Http\Kernel'
|
||||||
);
|
);
|
||||||
|
|
||||||
$app->bind(
|
$app->singleton(
|
||||||
'Illuminate\Contracts\Console\Kernel',
|
'Illuminate\Contracts\Console\Kernel',
|
||||||
'App\Console\Kernel'
|
'App\Console\Kernel'
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue