PHP Class ZF\Apigility\Admin\Model\ValidatorsModel

Inheritance: extends AbstractPluginManagerModel
Show file Open project: zfcampus/zf-apigility-admin

Protected Properties

Property Type Description
$metadata ValidatorMetadataModel

Public Methods

Method Description
__construct ( Zend\ServiceManager\ServiceManager $pluginManager, ValidatorMetadataModel $metadata = null ) $pluginManager should be an instance of Zend\Validator\ValidatorPluginManager.

Protected Methods

Method Description
getPlugins ( ) : array Retrieve all plugins

Method Details

__construct() public method

$pluginManager should be an instance of Zend\Validator\ValidatorPluginManager.
public __construct ( Zend\ServiceManager\ServiceManager $pluginManager, ValidatorMetadataModel $metadata = null )
$pluginManager Zend\ServiceManager\ServiceManager
$metadata ValidatorMetadataModel

getPlugins() protected method

Merges the list of plugins with the plugin metadata
protected getPlugins ( ) : array
return array

Property Details

$metadata protected property

protected ValidatorMetadataModel,ZF\Apigility\Admin\Model $metadata
return ValidatorMetadataModel