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

set component and auto reassign

Adding patch for this

Patch applied in trunk and 1.9 release branch -- thanks!