Issue Type: Improvement Created: 2012-03-08T12:08:39.000+0000 Last Updated: 2012-03-08T17:59:32.000+0000 Status: Resolved Fix version(s): Reporter: Dewald Botha (dewald_botha) Assignee: Evan Coury (evan.pro) Tags: - Zend\ModuleManager
Related issues: Attachments:
When creating a Zend\Module\Listener\ListenerOptions object by passing a Zend\Config\Config object with listener_options via the constructor, the ListenerOptions parent class (Zend/Stdlib/Options) uses the magic in the setFromArray function to call setModulePaths, which currently only accepts variables of type array, which causes an exception.
Perhaps doing an is_array or instanceof Traversable would fix this issue?
Posted by Evan Coury (evan.pro) on 2012-03-08T17:57:06.000+0000
This is a Zend\Module thing.
Posted by Evan Coury (evan.pro) on 2012-03-08T17:57:46.000+0000
Fixed with PR-905.
Have you found an issue?
See the Overview section for more details.