diff --git a/prooph/service-bus-symfony-bundle/0.6/config/packages/prooph_service_bus.yaml b/prooph/service-bus-symfony-bundle/0.6/config/packages/prooph_service_bus.yaml index 35ca6918..cd80d926 100644 --- a/prooph/service-bus-symfony-bundle/0.6/config/packages/prooph_service_bus.yaml +++ b/prooph/service-bus-symfony-bundle/0.6/config/packages/prooph_service_bus.yaml @@ -3,6 +3,9 @@ prooph_service_bus: app_command_bus: ~ services: + _defaults: + autowire: true + Prooph\Bundle\ServiceBus\CommandBus: '@prooph_service_bus.app_command_bus' # Make sure App\Messaging\* services are not overriden in `config/services.yaml`