Autowired command handlers

This commit is contained in:
Gildas Quéméner
2018-03-20 18:55:29 +01:00
parent 17a7249d77
commit 26ec16d08b
@@ -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`