Open szepeviktor opened 4 years ago
Might be something for 3.0 but not before.
Also, what you are asking for is not a DI container (which supposes that your class still uses DI and so the constructor stays the same than today). It is more about asking for a service locator.
a service locator.
Yes, you're right.
While developing a Composer plugin I very much feel the need of a DI container.
Passing all these arguments is very tedious and accessing one instance of a class from different places is not possible automatically.
Thank you for considering. Was #3803
@stof @Seldaek