0

Using PHP-DI, it is possible to get a dependency using: $container->get(MyDependency::class).

Can I use a similar method to automatically get all dependencies implementing a certain interface?

Mat
  • 833
  • 1
  • 5
  • 20

0 Answers0