You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
its means moduleB can not override a service by providing moduleB->getServiceConfig()
on bootstrapEvent and have to define service in moduleB->getConfig() to be able override a service from moduleA ,before it call on bootstrap().
actually service manager configured in tow separated place that is not get same result.
Expected results
is it not better to call Zend\ModuleManager\Listener\ServiceListener after Zend\ModuleManager\Listener\ConfigListener to be usable in Bootstrap !?
i was installed two module moduleA and moduleB
when i try to override a service of moduleA
serviceA
from moduleBserviceB
, it was unsuccessful .Code to reproduce the issue
because module listeners called in this order
its means moduleB can not override a service by providing
moduleB->getServiceConfig()
on bootstrapEvent and have to define service in
moduleB->getConfig()
to be able override a service from moduleA ,before it call on bootstrap().actually service manager configured in tow separated place that is not get same result.
Expected results
is it not better to call
Zend\ModuleManager\Listener\ServiceListener
afterZend\ModuleManager\Listener\ConfigListener
to be usable in Bootstrap !?Originally posted by @Baft at zendframework/zend-modulemanager#81
The text was updated successfully, but these errors were encountered: