Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 5b253ce

Browse files
committed
Merge branch 'hotfix/86'
Close #90 Fixes #86
2 parents 05e8db5 + 0ab0cb7 commit 5b253ce

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ All notable changes to this project will be documented in this file, in reverse
1818

1919
### Fixed
2020

21-
- Nothing.
21+
- [#90](https://github.com/zendframework/zend-mvc/pull/90) re-introduces the
22+
various zend-di aliases and factories in `Zend\Mvc\Service\ServiceListenerFactory`,
23+
which were accidently removed in the 2.7.0 release.
2224

2325
## 2.7.1 - 2016-03-02
2426

src/Service/ServiceListenerFactory.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class ServiceListenerFactory implements FactoryInterface
4747
'Console' => 'ConsoleAdapter',
4848
'ConsoleDefaultRenderingStrategy' => View\Console\DefaultRenderingStrategy::class,
4949
'ControllerLoader' => 'ControllerManager',
50+
'Di' => 'DependencyInjector',
5051
'HttpDefaultRenderingStrategy' => View\Http\DefaultRenderingStrategy::class,
5152
'MiddlewareListener' => 'Zend\Mvc\MiddlewareListener',
5253
'RouteListener' => 'Zend\Mvc\RouteListener',
@@ -57,6 +58,7 @@ class ServiceListenerFactory implements FactoryInterface
5758
'ViewPhpRendererStrategy' => 'Zend\View\Strategy\PhpRendererStrategy',
5859
'ViewPhpRenderer' => 'Zend\View\Renderer\PhpRenderer',
5960
'ViewRenderer' => 'Zend\View\Renderer\PhpRenderer',
61+
'Zend\Di\LocatorInterface' => 'DependencyInjector',
6062
'Zend\Form\Annotation\FormAnnotationBuilder' => 'FormAnnotationBuilder',
6163
'Zend\Mvc\Controller\PluginManager' => 'ControllerPluginManager',
6264
'Zend\Mvc\View\Http\InjectTemplateListener' => 'InjectTemplateListener',
@@ -77,6 +79,10 @@ class ServiceListenerFactory implements FactoryInterface
7779
'ConsoleRouter' => ConsoleRouterFactory::class,
7880
'ConsoleRouteNotFoundStrategy' => ConsoleRouteNotFoundStrategyFactory::class,
7981
'ConsoleViewManager' => 'Zend\Mvc\Service\ConsoleViewManagerFactory',
82+
'DependencyInjector' => DiFactory::class,
83+
'DiAbstractServiceFactory' => DiAbstractServiceFactoryFactory::class,
84+
'DiServiceInitializer' => DiServiceInitializerFactory::class,
85+
'DiStrictAbstractServiceFactory' => DiStrictAbstractServiceFactoryFactory::class,
8086
'DispatchListener' => 'Zend\Mvc\Service\DispatchListenerFactory',
8187
'FilterManager' => 'Zend\Mvc\Service\FilterManagerFactory',
8288
'FormAnnotationBuilder' => 'Zend\Mvc\Service\FormAnnotationBuilderFactory',

0 commit comments

Comments
 (0)