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

Commit f4c4ca6

Browse files
committed
Re-introduce missing Zend\Di aliases and factories
1 parent 05e8db5 commit f4c4ca6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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)