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 [email protected] 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


\Zend_Tool_Framework_Provider_Signature[] $_providerSignatures = array()
array()
Details


array $_providers = array()
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_Repository
Add 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() : \ArrayIterator
getIterator() - Required by the IteratorAggregate Interface
Type | Description |
---|---|
\ArrayIterator |


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


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


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


getProviders() : array
getProviders() 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) : \unknown
Set the ProcessOnAdd flag
Name | Type | Description |
---|---|---|
$processOnAdd | \unknown_type |
Type | Description |
---|---|
\unknown |


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