Tool/Framework/Provider/Repository.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_Tool
- Subpackage
- Framework
- Version
- $Id$
\Zend_Tool_Framework_Provider_Repository
Package: Zend_Tool
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
array $_providers = array()
Array of Zend_Tool_Framework_Provider_Inteface
Default value
array()
Details- Type
- array
Methods
_parseName( $provider) : string
_parseName - internal method to determine the name of an action when one is not explicity provided.
Parameters
Returns
Name | Type | Description |
---|---|---|
$provider |
Type | Description |
---|---|
string |
addProvider(\Zend_Tool_Framework_Provider_Interface $provider, $overwriteExistingProvider = false) : \Zend_Tool_Framework_Provider_Repository
Add a provider to the repository for processing
Parameters
Returns
Name | Type | Description |
---|---|---|
$provider | \Zend_Tool_Framework_Provider_Interface | |
$overwriteExistingProvider |
Type | Description |
---|---|
\Zend_Tool_Framework_Provider_Repository |
getIterator() : \ArrayIterator
getIterator() - Required by the IteratorAggregate Interface
Returns
Type | Description |
---|---|
\ArrayIterator |
getProvider(string $providerName) : \Zend_Tool_Framework_Provider_Interface
getProvider()
Parameters
Returns
Name | Type | Description |
---|---|---|
$providerName | string |
Type | Description |
---|---|
\Zend_Tool_Framework_Provider_Interface |
getProviderSignature(string $providerName) : \Zend_Tool_Framework_Provider_Signature
getProviderSignature()
Parameters
Returns
Name | Type | Description |
---|---|---|
$providerName | string |
Type | Description |
---|---|
\Zend_Tool_Framework_Provider_Signature |
getProviderSignatures() : array
getProviderSignatures() Get all the provider signatures
Returns
Type | Description |
---|---|
array |
getProviders() : array
getProviders() Get all the providers in the repository
Returns
Type | Description |
---|---|
array |
hasProvider( $providerOrClassName, $processedOnly = true) : void
Parameters
Name | Type | Description |
---|---|---|
$providerOrClassName | ||
$processedOnly |
setProcessOnAdd(\unknown_type $processOnAdd = true) : \unknown
Set the ProcessOnAdd flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$processOnAdd | \unknown_type |
Type | Description |
---|---|
\unknown |
setRegistry(\Zend_Tool_Framework_Registry_Interface $registry) : \unknown
setRegistry()
Parameters
Returns
Name | Type | Description |
---|---|---|
$registry | \Zend_Tool_Framework_Registry_Interface |
Type | Description |
---|---|
\unknown |