update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
37
vendor/zendframework/zend-validator/src/ConfigProvider.php
vendored
Normal file
37
vendor/zendframework/zend-validator/src/ConfigProvider.php
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://github.com/zendframework/zend-validator for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace Zend\Validator;
|
||||
|
||||
class ConfigProvider
|
||||
{
|
||||
/**
|
||||
* Return configuration for this component.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function __invoke()
|
||||
{
|
||||
return [
|
||||
'dependencies' => $this->getDependencyConfig(),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return dependency mappings for this component.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDependencyConfig()
|
||||
{
|
||||
return [
|
||||
'factories' => [
|
||||
'ValidatorManager' => ValidatorPluginManagerFactory::class,
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user