mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 18:46:48 +03:00
Revert "Auto-register command handlers"
This reverts commit 41dca24297.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
services:
|
||||
Prooph\Bundle\ServiceBus\CommandBus: '@prooph_service_bus.default_command_bus'
|
||||
|
||||
prooph_service_bus:
|
||||
command_buses:
|
||||
default_command_bus: ~
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
services:
|
||||
Prooph\Bundle\ServiceBus\CommandBus: '@prooph_service_bus.default_command_bus'
|
||||
|
||||
command_handlers:
|
||||
namespace: App\Messaging\Command\
|
||||
public: true
|
||||
resource: '../src/Messaging/Command/*Handler.php'
|
||||
tags: [{ name: 'prooph_service_bus.default_command_bus.route_target', message_detection: true }]
|
||||
Reference in New Issue
Block a user