Issues

ZF-6097: For settings no arrays are accepted, only instances of Zend_Config

Issue Type: Sub-task Created: 2009-03-22T18:03:08.000+0000 Last Updated: 2012-11-20T20:53:03.000+0000 Status: Closed Fix version(s): Reporter: Dolf Schimmel (Freeaqingme) (freak) Assignee: None Tags: - Zend_Controller

Related issues: - ZF-6093

Attachments:

Description

At the moment only instances of Zend_Config are allowed in Zend_Controller_Router_Rewrite::addConfig(). It would be appreciated if arrays were accepted too. (there seems no obvious reason to only zend_config's).

Comments

Posted by julien PAULI (doctorrock83) on 2009-03-23T01:28:25.000+0000

That method exists and is named addRoutes() isn't it ?

Posted by Ben Scholzen (dasprid) on 2009-03-23T01:32:28.000+0000

No, addRoutes() only takes an array of route instances. Making the router to actually support arrays is not easy, as all routes only take Zend_Config objects in the getInstance() method.

Posted by Ben Scholzen (dasprid) on 2009-04-14T15:07:25.000+0000

To be more precisely, the fix/improvement would be a BC break cause of the interface definition of a route:


 

 

Posted by Rob Allen (rob) on 2012-11-20T20:53:03.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

 

 

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts