Latest release

zend-di 2.6.1

@weierophinney weierophinney released this Apr 25, 2016 · 2 commits to master since this release

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #3 fixes how InstanceManager::sharedInstancesWithParams() behaves when multiple calls are made with different sets of parameters (it should return different instances in that situation).

Downloads

zend-di 2.6.0

@weierophinney weierophinney released this Feb 23, 2016 · 29 commits to master since this release

Added

  • #16 adds container-interop as a dependency, and updates the LocatorInterface to extend Interop\Container\ContainerInterface. This required adding the following methods:
    • Zend\Di\Di::has()
    • Zend\Di\ServiceLocator::has()

Deprecated

  • Nothing.

Removed

  • #15 and #16 remove most development dependencies, as the functionality could be reproduced with generic test assets or PHP built-in classes. These include:
    • zend-config
    • zend-db
    • zend-filter
    • zend-log
    • zend-mvc
    • zend-view
    • zend-servicemanager

Fixed

  • #16 updates the try/catch block in Zend\Di\Di::resolveMethodParameters() to catch container-interop exceptions instead of the zend-servicemanager-specific exception class. Since all zend-servicemanager exceptions derive from container-interop, this provides more flexibility in using any container-interop implementation as a peering container.

Downloads