symfony console debug:container
This will list all the services available in the service container. It will print the results as a two-column table:
- Service ID: Either an interface (e.g.,
Psr\Log\LoggerInterface) or a service ID (e.g.,
- Class name: Fully qualified class name (e.g.,
Symfony\Bridge\Monolog\Logger). This is the implementation that’s returned when you type-hint the corresponding interface.