Skip to content

Relax HttpKernel decorator coupling to the concrete HttpKernel class #30

Description

@javihgil

HttpKernelTracerDecorator currently requires the concrete Symfony\Component\HttpKernel\HttpKernel class in its constructor.

This makes the decorator more rigid than necessary and makes testing or alternative kernel decoration harder. The decorator should depend on the narrowest practical contract needed by the service it decorates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions