Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/vendor/laminas/laminas-validator/src/
Upload File :
Current File : //home/rtorresani/www/vendor/laminas/laminas-validator/src/ValidatorProviderInterface.php

<?php

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();
}