Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servicelocator deletes listeners #160

Closed
lunetics opened this issue Jun 27, 2017 · 0 comments · Fixed by #161
Closed

Servicelocator deletes listeners #160

lunetics opened this issue Jun 27, 2017 · 0 comments · Fixed by #161

Comments

@lunetics
Copy link
Member

As soon as we use the ServiceLocators and have strings/services as eventhandler AND closures, The servicelocator will only load the service for the "strings" and overwrite the handlers with only the ones located in the service container

https://github.com/prooph/service-bus/blob/master/src/Plugin/ServiceLocatorPlugin.php#L52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant