ZF-6097: For settings no arrays are accepted, only instances of Zend_Config
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.