Skip to content

Commit 4f9a7db

Browse files
authored
Merge pull request #60 from ruudk/add-class-alias
Add class based aliases for CommandBus and EventBus
2 parents c46a5cb + 819d5ec commit 4f9a7db

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Resources/config/command_bus.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
services:
2+
SimpleBus\SymfonyBridge\Bus\CommandBus:
3+
alias: simple_bus.command_bus
4+
25
command_bus:
36
alias: simple_bus.command_bus
47

src/Resources/config/event_bus.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
services:
2+
SimpleBus\SymfonyBridge\Bus\EventBus:
3+
alias: simple_bus.event_bus
4+
25
event_bus:
36
alias: simple_bus.event_bus
47

0 commit comments

Comments
 (0)