Fixes for helper loader/broker configuration
authorMatthew Weier O'Phinney <matthew@zend.com>
Tue, 14 Feb 2012 17:15:14 +0000 (11:15 -0600)
committerMatthew Weier O'Phinney <matthew@zend.com>
Tue, 14 Feb 2012 17:15:14 +0000 (11:15 -0600)
- Removed unneeded aliases
- Removed obsolete classmap entries
- Updated ZF2 library to latest feature/view-layer

module/Application/autoload_classmap.php
module/Application/config/module.config.php
vendor/ZendFramework

index a30d090..acf5238 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 return array(
-    'Application\View\Listener'              => __DIR__ . '/src/Application/View/Listener.php',
     'Application\Controller\IndexController' => __DIR__ . '/src/Application/Controller/IndexController.php',
     'Application\Controller\ErrorController' => __DIR__ . '/src/Application/Controller/ErrorController.php',
     'Application\Module'                     => __DIR__ . '/Module.php',
-);
\ No newline at end of file
+);
index 02a7061..c41595f 100644 (file)
@@ -1,25 +1,7 @@
 <?php
 return array(
     'di' => array(
-        'definition' => array(
-            'class' => array(
-                'Zend\View\Renderer\PhpRenderer' => array(
-                    'setResolver' => array(
-                        'resolver' => array(
-                            'required' => false,
-                            'type'     => 'Zend\View\Resolver',
-                        ),
-                    ),
-                ),
-            ),
-        ),
         'instance' => array(
-            'alias' => array(
-                'index' => 'Application\Controller\IndexController',
-                'error' => 'Application\Controller\ErrorController',
-                'view'  => 'Zend\View\Renderer\PhpRenderer',
-            ),
-            
             // Inject the plugin broker for controller plugins into
             // the action controller for use by all controllers that
             // extend it.
@@ -77,7 +59,7 @@ return array(
                                     'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                                 ),
                                 'defaults' => array(
-                                    'controller' => 'index',
+                                    'controller' => 'Application\Controller\IndexController',
                                     'action'     => 'index',
                                 ),
                             ),
@@ -87,7 +69,7 @@ return array(
                             'options' => array(
                                 'route'    => '/',
                                 'defaults' => array(
-                                    'controller' => 'index',
+                                    'controller' => 'Application\Controller\IndexController',
                                     'action'     => 'index',
                                 ),
                             ),
index 99cdf5c..e0176af 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 99cdf5ceca4792e08bac0104a7e9a93528181e8a
+Subproject commit e0176af9226868138b1a8d28d135384591327fbd