Skip to content

Commit

Permalink
Merge pull request #8 from LIN3S/fix/tactician-event-subscriber-sf4
Browse files Browse the repository at this point in the history
Made tactician event subscriber definitions public to avoid Symfony 4 issues
  • Loading branch information
gorkalaucirica authored Sep 28, 2018
2 parents e88bbc2 + 4845643 commit 7a9ba2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ This changelog references the relevant changes done between versions.
To get the diff for a specific change, go to https://github.com/LIN3S/SharedKernel/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/LIN3S/SharedKernel/compare/v0.8.0...v0.9.0

* 0.9.8
* Made tactician event subscriber definitions public to avoid Symfony 4 issues
* 0.9.7
* Allow to an event object to contain an array
* 0.9.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ private function loadAllSubscribers(ContainerBuilder $container) : void
TacticianEventSubscriber::class,
[new Reference($id)]
)
)->addTag('tactician.event_listener', ['event' => $attributes['subscribes_to']]);
)
->setPublic(true)
->addTag('tactician.event_listener', ['event' => $attributes['subscribes_to']]);
}
}
}
Expand Down

0 comments on commit 7a9ba2f

Please sign in to comment.