Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

A few observations #16

@sagikazarmark

Description

@sagikazarmark

Here are a few observations:

  • Application instance should clearly be a singleton instance. I couldn't find any reasons why a dev should be able to have multiple.
  • We should get rid of the injection factory and leave injections to the dic. The new one will handle deps quite wisely.
  • We should stop using the container as a service locator (looking at you, request stack). It should be injected into the application IMO.
  • In general the application object should hold everything which is needed by the framework and everything should be retrieved from it if possible.

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