|
@@ -76,7 +76,7 @@ discard block |
|
|
block discarded – undo |
|
76
|
76
|
{ |
|
77
|
77
|
$this->app->share(Application::class, $this->app); |
|
78
|
78
|
$this->app->share('app', $this->app); |
|
79
|
|
- $this->app->share(ConsoleApp::class, function () { |
|
|
79
|
+ $this->app->share(ConsoleApp::class, function() { |
|
80
|
80
|
return new ConsoleApp('PLATINE CONSOLE', '1.0.0'); |
|
81
|
81
|
}); |
|
82
|
82
|
$this->app->share(ContainerInterface::class, $this->app); |
|
@@ -84,7 +84,7 @@ discard block |
|
|
block discarded – undo |
|
84
|
84
|
$this->app->share(Router::class); |
|
85
|
85
|
$this->app->bind(RouteCollectionInterface::class, RouteCollection::class); |
|
86
|
86
|
$this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class); |
|
87
|
|
- $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) { |
|
|
87
|
+ $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) { |
|
88
|
88
|
return new ResponseEmitter( |
|
89
|
89
|
$app->get(Config::class)->get('app.response_chunck_size', null) |
|
90
|
90
|
); |
Please login to merge, or discard this patch.