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


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).


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

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.

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


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.