From f4c4ca6f9d314ad29566103c5ae3539aed9686a0 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Tue, 8 Mar 2016 10:35:18 -0600 Subject: [PATCH] Re-introduce missing Zend\Di aliases and factories --- src/Service/ServiceListenerFactory.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Service/ServiceListenerFactory.php b/src/Service/ServiceListenerFactory.php index 7b5dcf8f2..ded3573bd 100644 --- a/src/Service/ServiceListenerFactory.php +++ b/src/Service/ServiceListenerFactory.php @@ -47,6 +47,7 @@ class ServiceListenerFactory implements FactoryInterface 'Console' => 'ConsoleAdapter', 'ConsoleDefaultRenderingStrategy' => View\Console\DefaultRenderingStrategy::class, 'ControllerLoader' => 'ControllerManager', + 'Di' => 'DependencyInjector', 'HttpDefaultRenderingStrategy' => View\Http\DefaultRenderingStrategy::class, 'MiddlewareListener' => 'Zend\Mvc\MiddlewareListener', 'RouteListener' => 'Zend\Mvc\RouteListener', @@ -57,6 +58,7 @@ class ServiceListenerFactory implements FactoryInterface 'ViewPhpRendererStrategy' => 'Zend\View\Strategy\PhpRendererStrategy', 'ViewPhpRenderer' => 'Zend\View\Renderer\PhpRenderer', 'ViewRenderer' => 'Zend\View\Renderer\PhpRenderer', + 'Zend\Di\LocatorInterface' => 'DependencyInjector', 'Zend\Form\Annotation\FormAnnotationBuilder' => 'FormAnnotationBuilder', 'Zend\Mvc\Controller\PluginManager' => 'ControllerPluginManager', 'Zend\Mvc\View\Http\InjectTemplateListener' => 'InjectTemplateListener', @@ -77,6 +79,10 @@ class ServiceListenerFactory implements FactoryInterface 'ConsoleRouter' => ConsoleRouterFactory::class, 'ConsoleRouteNotFoundStrategy' => ConsoleRouteNotFoundStrategyFactory::class, 'ConsoleViewManager' => 'Zend\Mvc\Service\ConsoleViewManagerFactory', + 'DependencyInjector' => DiFactory::class, + 'DiAbstractServiceFactory' => DiAbstractServiceFactoryFactory::class, + 'DiServiceInitializer' => DiServiceInitializerFactory::class, + 'DiStrictAbstractServiceFactory' => DiStrictAbstractServiceFactoryFactory::class, 'DispatchListener' => 'Zend\Mvc\Service\DispatchListenerFactory', 'FilterManager' => 'Zend\Mvc\Service\FilterManagerFactory', 'FormAnnotationBuilder' => 'Zend\Mvc\Service\FormAnnotationBuilderFactory',