mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 07:00:29 +01:00
31 lines
1013 B
PHP
31 lines
1013 B
PHP
<?php
|
|
|
|
/**
|
|
* @see https://github.com/laminas/laminas-validator for the canonical source repository
|
|
* @copyright https://github.com/laminas/laminas-validator/blob/master/COPYRIGHT.md
|
|
* @license https://github.com/laminas/laminas-validator/blob/master/LICENSE.md New BSD License
|
|
*/
|
|
|
|
namespace Laminas\Validator;
|
|
|
|
/**
|
|
* Hint to the laminas-modulemanager ServiceListener that a module provides validators.
|
|
*
|
|
* Module classes implementing this interface hint to
|
|
* Laminas\ModuleManager\ServiceListener that they provide validators for the
|
|
* ValidatorPluginManager.
|
|
*
|
|
* For users of laminas-mvc/laminas-modulemanager v2, this poses no backwards-compatibility
|
|
* break as the method getValidatorConfig is still duck-typed within Laminas\Validator\Module
|
|
* when providing configuration to the ServiceListener.
|
|
*/
|
|
interface ValidatorProviderInterface
|
|
{
|
|
/**
|
|
* Provide plugin manager configuration for validators.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getValidatorConfig();
|
|
}
|