Since Symfony 4.0 a dedicated debug:autowiring command has been added to show classes & interfaces that can be used as type-hints when autowiring.