This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
zend-mvc 2.7.1
weierophinney
released this
02 Mar 15:11
·
536 commits
to master
since this release
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#88 addresses backwards compatibility concerns raised by users due to the new deprecation notices emitted by
ServiceLocatorAware
initializers; in particular, allAbstractController
implementations were raising a deprecation wen first pulled from theControllerManager
.At this time, notices are now only raised in the following conditions:
- When a non-controller, non-plugin manager,
ServiceLocatorAware
instance is detected. - When a plugin manager instance is detected that is
ServiceLocatorAware
and does not have a composed service locator. In this situation, the deprecation notice indicates that the factory for the plugin manager should be updated to inject the service locator via the constructor. - For controllers that do not extend
AbstractController
but do implementServiceLocatorAware
. - When calling
getServiceLocator()
from within anAbstractController
extension; this properly calls out the practice that should be avoided and which requires updates to the controller.
- When a non-controller, non-plugin manager,