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

Commit bc41251

Browse files
committed
Merge branch 'hotfix/86' into develop
Forward port #90
2 parents 46738b7 + 0ab0cb7 commit bc41251

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
@@ -36,7 +36,9 @@ All notable changes to this project will be documented in this file, in reverse
3636

3737
### Fixed
3838

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

4143
## 2.7.1 - 2016-03-02
4244

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)