Closed sneznaovca closed 8 years ago
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.
Service 'events.MD5' has already been added.
json_decode
Example:
subscribers: - Message(@service,...) - Notification(@service,...)
If are registered more services with explicit defined argument is return error
Service 'events.MD5' has already been added.
Becausejson_decode
https://github.com/Kdyby/Events/blob/master/src/Kdyby/Events/DI/EventsExtension.php#L97 processes only arguments and hash is same.Example: