8000 Encapsulate AppKernel creation somewhere · Issue #8500 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Encapsulate AppKernel creation somewhere #8500
Closed
@Koc

Description

@Koc

I want add 3rd required parameter to constructor of my AppKernel. But this constructor calls somewhere where I don't know:

  1. web/app.php, web/app_dev.php, app/console
  2. in unserialization of Kernel
  3. in cache:clear command
  4. maybe also somewhere.

The problem is that constructor not defined as final and no any interface that dissallow me to change its signature. But in fact - this is hardcoded.

So I propose add something like app kernel initialiser (service) which would calls in described above places.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0