X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2Fconfig%2Fmodule.config.php;h=6a300aa471fe6401d5ae9de39005ad454076f89f;hb=7889d92c1550c6122119815ad673d186fee4f415;hp=41f63b97e103af70c4e73ffaf6f0de787902256c;hpb=31401ee59c030a46693cfde20323abd4066f9928;p=zf2.biz%2Fapplication_blanche.git diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index 41f63b9..6a300aa 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -1,24 +1,6 @@ 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