Open weierophinney opened 4 years ago
Also, I wonder about the pre-existing comment that "the conditional will always pass". I think that's true. Then does it need to be a conditional?
Originally posted by @bitwombat at https://github.com/zendframework/zend-mvc/pull/285#issuecomment-397136114
The statement in
injectEventManager
's comments that a shared event manager is injected into an existing event manager is incorrect - the code replaces the existing event manager with a new one. That's what I updated.I may have added too much 'how it works' detail, but I puzzled over this a bit so I thought the explanation might help future readers.
Originally posted by @bitwombat at https://github.com/zendframework/zend-mvc/pull/285