Skip to content

Stop using Pimple as service locator #5

@jakobmats

Description

@jakobmats

Pimple should not be used as a locator for fetching dependencies from as things are starting to get coupled which obviously is the exact opposite of the problem that it was supposed to solve.

  • Use Symfony DI instead,
  • get rid of service providers,
  • find a way to autowire the dependencies in the HTTP verb methods and middlewares.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions