From 819d5ecb725530031ff37afa3c2ecf70f6d8ac75 Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Thu, 30 Nov 2017 11:09:53 +0100 Subject: [PATCH] Add class based aliases for CommandBus and EventBus --- src/Resources/config/command_bus.yml | 3 +++ src/Resources/config/event_bus.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/Resources/config/command_bus.yml b/src/Resources/config/command_bus.yml index addbed5..80e5af7 100644 --- a/src/Resources/config/command_bus.yml +++ b/src/Resources/config/command_bus.yml @@ -1,4 +1,7 @@ services: + SimpleBus\SymfonyBridge\Bus\CommandBus: + alias: simple_bus.command_bus + command_bus: alias: simple_bus.command_bus diff --git a/src/Resources/config/event_bus.yml b/src/Resources/config/event_bus.yml index 1245693..73efa43 100644 --- a/src/Resources/config/event_bus.yml +++ b/src/Resources/config/event_bus.yml @@ -1,4 +1,7 @@ services: + SimpleBus\SymfonyBridge\Bus\EventBus: + alias: simple_bus.event_bus + event_bus: alias: simple_bus.event_bus