Skip to content

Commit

Permalink
Merge pull request #1 from uro/hotfix/circular-ref-bug
Browse files Browse the repository at this point in the history
Break circular reference
  • Loading branch information
maks-rafalko authored May 24, 2017
2 parents 0ec1ded + 77f5f30 commit 1e0f547
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ services:

tactician_domain_events.dispatcher:
class: BornFree\TacticianDomainEvent\EventDispatcher\EventDispatcher

lazy: true

tactician_domain_events.middleware.release_recorded_events:
class: BornFree\TacticianDomainEvent\Middleware\ReleaseRecordedEventsMiddleware
arguments: ['@tactician_domain_events.doctrine.event_collector', '@tactician_domain_events.dispatcher']
arguments: ['@tactician_domain_events.doctrine.event_collector', '@tactician_domain_events.dispatcher']
lazy: true

0 comments on commit 1e0f547

Please sign in to comment.