Application/Bootstrap/ResourceBootstrapper.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Application
- Subpackage
- Bootstrap
- Version
- $Id$
\Zend_Application_Bootstrap_ResourceBootstrapper
Package: Zend_Application\Bootstrap
Interface for bootstrap classes that utilize resource plugins
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
getPluginLoader() : \Zend_Loader_PluginLoader
Retrieve plugin loader for resources
Returns
Type | Description |
---|---|
\Zend_Loader_PluginLoader |
getPluginResource(string $resource) : \Zend_Application_Resource_Resource
Retrieve resource
Parameters
Returns
Name | Type | Description |
---|---|---|
$resource | string |
Type | Description |
---|---|
\Zend_Application_Resource_Resource |
hasPluginResource(string $resource) : bool
Is the requested resource registered?
Parameters
Returns
Name | Type | Description |
---|---|---|
$resource | string |
Type | Description |
---|---|
bool |
registerPluginResource(string | \Zend_Application_Resource_Resource $resource, null | array | \Zend_Config $options = null) : \Zend_Application_Bootstrap_ResourceBootstrapper
Register a resource with the bootstrap
Parameters
Returns
Name | Type | Description |
---|---|---|
$resource | string | \Zend_Application_Resource_Resource | |
$options | null | array | \Zend_Config |
Type | Description |
---|---|
\Zend_Application_Bootstrap_ResourceBootstrapper |
setPluginLoader( $loader) : \Zend_Application_Bootstrap_ResourceBootstrapper
Set plugin loader to use to fetch resources
Parameters
Returns
Name | Type | Description |
---|---|---|
$loader |
Type | Description |
---|---|
\Zend_Application_Bootstrap_ResourceBootstrapper |
unregisterPluginResource(string | \Zend_Application_Resource_Resource $resource) : \Zend_Application_Bootstrap_ResourceBootstrapper
Unregister a resource from the bootstrap
Parameters
Returns
Name | Type | Description |
---|---|---|
$resource | string | \Zend_Application_Resource_Resource |
Type | Description |
---|---|
\Zend_Application_Bootstrap_ResourceBootstrapper |