Skip to content

Commit

Permalink
Create alias for RecordsMessages and MessageSubscribersResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Feb 27, 2019
1 parent eb72450 commit 8ca920f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Resources/config/event_bus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ services:
# collection of RecordsMessages instances, will be provided by the RegisterMessageRecorders compiler pass
- []

SimpleBus\Message\Recorder\RecordsMessages:
alias: 'event_recorder'

event_recorder:
alias: simple_bus.event_bus.public_event_recorder
public: false
Expand Down Expand Up @@ -74,6 +77,9 @@ services:
- []
- '@simple_bus.event_bus.callable_resolver'

SimpleBus\Message\Subscriber\Resolver\MessageSubscribersResolver:
alias: 'simple_bus.event_bus.event_subscribers_resolver'

simple_bus.event_bus.event_subscribers_resolver:
class: SimpleBus\Message\Subscriber\Resolver\NameBasedMessageSubscriberResolver
public: false
Expand Down

0 comments on commit 8ca920f

Please sign in to comment.