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

Register subscribers with same arguments defined explicitly #93

Closed
sneznaovca opened this issue Mar 12, 2016 · 0 comments
Closed

Register subscribers with same arguments defined explicitly #93

sneznaovca opened this issue Mar 12, 2016 · 0 comments

Comments

@sneznaovca
Copy link
Contributor

If are registered more services with explicit defined argument is return error Service 'events.MD5' has already been added.
Because json_decode https://github.com/Kdyby/Events/blob/master/src/Kdyby/Events/DI/EventsExtension.php#L97 processes only arguments and hash is same.

Example:

subscribers:
    - Message(@service,...)
    - Notification(@service,...)
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

No branches or pull requests

1 participant