ZF-6618: Passing resource/resources through Zend_Application bootstrap() wrapped method to the bootstrap() method of Zend_Application_Bootstrap_BootstrapAbstract
Description
Right now if you only want to instantiate specific resources in the bootstrap, you're required to do this (after instantiating a Zend_Application object):
$application->getBootstrap()->bootstrap('resource');
The following won't work:
$application->bootstrap('resource');
This is because the bootstrap() wrapper of Zend_Application doesn't proxy the arguments to Zend_Application_Bootstrap_BootstrapAbstract.
I suggest that the the implementation of the bootstrap() method in Zend_Application is changed so that doing this is possible.
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-22T21:32:44.000+0000
set component and auto reassign
Posted by Keith Pope (mute) on 2009-09-18T08:42:56.000+0000
Adding patch for this
Posted by Matthew Weier O'Phinney (matthew) on 2009-09-18T13:11:22.000+0000
Patch applied in trunk and 1.9 release branch -- thanks!