Issue Task Closed

#89892Define singletons used in install tool in service providers

Benjamin Franzke 12/06/19, 22:46 updated 04/21/20, 10:42

Description

This will allow both, dependency injection for these services and usage in install tool.
This is possible thanks to the failsafe container and the service providers which can fed the failsafe container with service factories, where we can wire services manually.

Note: The definition in a service provider means we are required to use manual wiring
and are forced to define the dependencies in the service provider.
With that approach we can assure that a servie, that is used in install tool,
doesn’t add new dependencies without defining a factory in a service provider.

Reviews 5