It’s described in detail here:
A command that implements ContainerAwareCommand
will have direct access to the service container and you can get/use services as usual.
solved how to call a Symfony service from my ContainerAwareCommand? [closed]
It’s described in detail here:
A command that implements ContainerAwareCommand
will have direct access to the service container and you can get/use services as usual.
solved how to call a Symfony service from my ContainerAwareCommand? [closed]