Skip to content

Commit 0b8610e

Browse files
committed
share request object in container
1 parent 7f38c79 commit 0b8610e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Services.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ private function registerCoreHttpServices(Injector $injector) {
5050
$injector->share(Engine::class);
5151
$injector->alias(Engine::class, HttpEngine::class);
5252
$injector->share(HttpEventFactory::class);
53+
$injector->share(Request::createFromGlobals());
5354
$this->registerRouterServices($injector);
5455
}
5556

0 commit comments

Comments
 (0)