1 <?php
2 /**
3 * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
4 */
5 namespace Team3\PayU\ValidatorBuilder;
6
7 use Doctrine\Common\Annotations\Reader;
8 use Symfony\Component\Validator\Validator\ValidatorInterface;
9
10 /**
11 * Will build {@link ValidationInterface}
12 *
13 * Interface ValidatorBuilderInterface
14 * @package Team3\PayU\ValidatorBuilder
15 */
16 interface ValidatorBuilderInterface
17 {
18 /**
19 * @param Reader $reader
20 *
21 * @return ValidatorInterface
22 */
23 public function getValidator(Reader $reader = null);
24 }
25