1 | <?php |
||
11 | class FormatConstraint extends FormatConstraintBase |
||
12 | { |
||
13 | /** @var FormatValidatorInterface[] */ |
||
14 | private $formatMap = []; |
||
15 | |||
16 | public function __construct($checkMode, UriRetriever $uriRetriever, BaseFactory $factory) |
||
24 | |||
25 | 1 | /** |
|
26 | 1 | * {@inheritdoc} |
|
27 | 1 | */ |
|
28 | 1 | public function check($element, $schema = null, $path = null, $i = null) |
|
48 | |||
49 | /** |
||
50 | * Add a format validator. |
||
51 | * |
||
52 | * @param string $format |
||
53 | * @param FormatValidatorInterface $formatValidator |
||
54 | */ |
||
55 | public function addFormatValidator($format, FormatValidatorInterface $formatValidator) |
||
59 | } |
||
60 |