ZF2-320: view_manager -> helper_map is Zend\Config\Config and not array in Zend/Mvc/View/ViewManager

Issue Type: Bug Created: 2012-05-26T07:03:36.000+0000 Last Updated: 2012-05-31T17:26:08.000+0000 Status: Resolved Fix version(s): Reporter: Jonathan Maron (jonathan_maron) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc

Related issues: Attachments:


When loading your own view plugins in module.config:

<pre class="literal">'view_manager' => array(
   'helper_map' => array(
        'hello' => 'MyNamespace\View\Helper\Hello',
    // [snip]

Zend\Mvc\View::getHelperLoader() reports:

$map = $this->config['helper\_map'] is a Zend\\Config\\Config and not array.

$map->toArray(); fixes the issue.



### Comments

Posted by Evan Coury ( on 2012-05-31T17:26:08.000+0000

Fixed with [PR #1331](



Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.