Issues

ZF-6618: Passing resource/resources through Zend_Application bootstrap() wrapped method to the bootstrap() method of Zend_Application_Bootstrap_BootstrapAbstract

Issue Type: Improvement Created: 2009-05-12T01:43:08.000+0000 Last Updated: 2009-09-18T13:11:22.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Reko Tiira (reko_t) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application

Related issues: Attachments: - ZF-6618.diff

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!

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