Skip to content

Add an argument to Runtime which is more in line with http-foundation Request #60250

@chx

Description

@chx

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy