Skip to content

Commit

Permalink
Merge pull request #60 from ruudk/add-class-alias
Browse files Browse the repository at this point in the history
Add class based aliases for CommandBus and EventBus
  • Loading branch information
cmodijk authored Nov 30, 2017
2 parents c46a5cb + 819d5ec commit 4f9a7db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Resources/config/command_bus.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
services:
SimpleBus\SymfonyBridge\Bus\CommandBus:
alias: simple_bus.command_bus

command_bus:
alias: simple_bus.command_bus

Expand Down
3 changes: 3 additions & 0 deletions src/Resources/config/event_bus.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
services:
SimpleBus\SymfonyBridge\Bus\EventBus:
alias: simple_bus.event_bus

event_bus:
alias: simple_bus.event_bus

Expand Down

0 comments on commit 4f9a7db

Please sign in to comment.