The definition originally was in Mvc\Bootstrap::setLocator.
It would be better to leave the definition in Bootstrap, and simply set
a "preference" value in the config, but the definition *appears* to
override the preference settings.
<?php
return array(
'di' => array(
+ 'definition' => array(
+ 'class' => array(
+ 'Zend\Mvc\Router\RouteStack' => array(
+ 'instantiator' => array(
+ 'Zend\Mvc\Router\Http\TreeRouteStack',
+ 'factory'
+ ),
+ ),
+ ),
+ ),
'instance' => array(
// Inject the plugin broker for controller plugins into
// the action controller for use by all controllers that