Updates for ZF2 master changes
[zf2.biz/application_blanche.git] / module / Application / config / module.config.php
index 41f63b9..6a300aa 100644 (file)
@@ -1,24 +1,6 @@
 <?php
 return array(
     'di' => array(
-
-        'definition' => array(
-            'class' => array(
-                // Defining how the router should be instantiated. The minimum
-                // requirement is to implement interface 
-                // Zend\Mvc\Router\RouteStack. Here we are stating that 
-                // Zend\Mvc\Router\Http\TreeRouteStack::factory should generate
-                // an instance of it. This can be changed to instantiate a
-                // custom router
-                'Zend\Mvc\Router\RouteStack' => array(
-                    'instantiator' => array(
-                        'Zend\Mvc\Router\Http\TreeRouteStack',
-                        'factory'
-                    ),
-                ),
-            ),
-        ),
-
         'instance' => array(
 
             // Setup for controllers.
@@ -38,7 +20,7 @@ return array(
             ),
 
             // Setup for router and routes
-            'Zend\Mvc\Router\RouteStack' => array(
+            'Zend\Mvc\Router\RouteStackInterface' => array(
                 'parameters' => array(
                     'routes' => array(
                         'default' => array(
@@ -113,7 +95,7 @@ return array(
             // Injecting the router into the url helper
             'Zend\View\Helper\Url' => array(
                 'parameters' => array(
-                    'router' => 'Zend\Mvc\Router\RouteStack',
+                    'router' => 'Zend\Mvc\Router\RouteStackInterface',
                 ),
             ),
             // Configuration for the doctype helper