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?
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?
Copyright © 2021 Jogjafile Inc.