Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 5a43e79

Browse files
committed
Added class-level docblock to new interface
1 parent 4bb191f commit 5a43e79

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/ValidatorProviderInterface.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
<?php
2-
32
/**
43
* @link http://github.com/zendframework/zend-validator for the canonical source repository
5-
*
64
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
75
* @license http://framework.zend.com/license/new-bsd New BSD License
86
*/
7+
98
namespace Zend\Validator;
109

10+
/**
11+
* Hint to the zend-modulemanager ServiceListener that a module provides validators.
12+
*
13+
* Module classes implementing this interface hint to
14+
* Zend\ModuleManager\ServiceListener that they provide validators for the
15+
* ValidatorPluginManager.
16+
*
17+
* For users of zend-mvc/zend-modulemanager v2, this poses no backwards-compatibility
18+
* break as the method getValidatorConfig is still duck-typed within Zend\Validator\Module
19+
* when providing configuration to the ServiceListener.
20+
*/
1121
interface ValidatorProviderInterface
1222
{
1323
/**

0 commit comments

Comments
 (0)