In case of dynamic service creation it would be nice to have possibility to inject all services trough splat operator.
interface IService{}
class ServiceA implements IService {}
class ServiceB implements IService {}
Autowiring both services and requiring DI to load IService will trigger Multiple services exception.
The following code should, however, be allowed
__construct(IService ...$services) {}
In case of dynamic service creation it would be nice to have possibility to inject all services trough splat operator.
interface IService{}class ServiceA implements IService {}class ServiceB implements IService {}Autowiring both services and requiring DI to load IService will trigger Multiple services exception.
The following code should, however, be allowed
__construct(IService ...$services) {}