Added hint to auto register command handlers

This commit is contained in:
Gildas Quéméner
2018-03-23 11:50:01 +01:00
parent 2385bdcf4c
commit e167532f35
@@ -11,3 +11,15 @@ services:
public: false
Prooph\ServiceBus\CommandBus: '@prooph_service_bus.default_command_bus'
# Autoregister your message handlers here
# Make sure App\Messaging\* services are not overriden in `config/services.yaml`
# Read more at https://github.com/prooph/service-bus-symfony-bundle/blob/master/doc/routing.md
#
# command_handlers:
# resource: '../../src/Messaging/Command/*Handler.php'
# namespace: App\Messaging\Command\
# public: true
# autowire: true
# tags:
# - { name: 'prooph_service_bus.default_command_bus.route_target', message_detection: true }