Tool/Framework/Provider/Repository.php
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Tool
- Subpackage
- Framework
- Version
- $Id: Repository.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Tool_Framework_Provider_Repository
- Implements
- \Zend_Tool_Framework_Registry_EnabledInterface
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

array $_providers = array()Array of Zend_Tool_Framework_Provider_Inteface
array()Details- Type
- array
Methods

_parseName( $provider) : string_parseName - internal method to determine the name of an action when one is not explicity provided.
| Name | Type | Description |
|---|---|---|
| $provider |
| Type | Description |
|---|---|
| string |

addProvider(\Zend_Tool_Framework_Provider_Interface $provider, $overwriteExistingProvider = false) : \Zend_Tool_Framework_Provider_RepositoryAdd a provider to the repository for processing
| Name | Type | Description |
|---|---|---|
| $provider | \Zend_Tool_Framework_Provider_Interface | |
| $overwriteExistingProvider |
| Type | Description |
|---|---|
| \Zend_Tool_Framework_Provider_Repository |

getIterator() : \ArrayIteratorgetIterator() - Required by the IteratorAggregate Interface
| Type | Description |
|---|---|
| \ArrayIterator |

getProvider(string $providerName) : \Zend_Tool_Framework_Provider_InterfacegetProvider()
| Name | Type | Description |
|---|---|---|
| $providerName | string |
| Type | Description |
|---|---|
| \Zend_Tool_Framework_Provider_Interface |

getProviderSignature(string $providerName) : \Zend_Tool_Framework_Provider_SignaturegetProviderSignature()
| Name | Type | Description |
|---|---|---|
| $providerName | string |
| Type | Description |
|---|---|
| \Zend_Tool_Framework_Provider_Signature |

getProviderSignatures() : arraygetProviderSignatures() Get all the provider signatures
| Type | Description |
|---|---|
| array |

getProviders() : arraygetProviders() Get all the providers in the repository
| Type | Description |
|---|---|
| array |

hasProvider( $providerOrClassName, $processedOnly = true) : void| Name | Type | Description |
|---|---|---|
| $providerOrClassName | ||
| $processedOnly |

setProcessOnAdd(\unknown_type $processOnAdd = true) : \unknownSet the ProcessOnAdd flag
| Name | Type | Description |
|---|---|---|
| $processOnAdd | \unknown_type |
| Type | Description |
|---|---|
| \unknown |

setRegistry(\Zend_Tool_Framework_Registry_Interface $registry) : \unknownsetRegistry()
| Name | Type | Description |
|---|---|---|
| $registry | \Zend_Tool_Framework_Registry_Interface |
| Type | Description |
|---|---|
| \unknown |