You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reading https://symfony.com/doc/current/components/runtime.html for the first time and I found it odd it mentions $kernel->handle(Request::createFromGlobals())->send() when it also has array $request With keys query, body, files and session
Maybe a httpfoundation_request argument which resolves to an array which can be passed with the splat operator directly to Request::create would be beneficial so the runner could contain $kernel->handle(Request::create(... $request)) instead, decoupling the runner from globals?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I was reading https://symfony.com/doc/current/components/runtime.html for the first time and I found it odd it mentions
$kernel->handle(Request::createFromGlobals())->send()
when it also has array $request With keys query, body, files and sessionMaybe a
httpfoundation_request
argument which resolves to an array which can be passed with the splat operator directly toRequest::create
would be beneficial so the runner could contain$kernel->handle(Request::create(... $request))
instead, decoupling the runner from globals?The text was updated successfully, but these errors were encountered: