| 1 | <?php |
||
| 5 | class Factory extends \JsonSchema\Constraints\Factory |
||
| 6 | { |
||
| 7 | /** @var Format\FormatValidatorInterface[] */ |
||
| 8 | private $formatValidators; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Add a format validator. |
||
| 12 | * |
||
| 13 | * @param string $format |
||
| 14 | * @param Format\FormatValidatorInterface $validator |
||
| 15 | */ |
||
| 16 | public function setFormatValidator($format, Format\FormatValidatorInterface $validator) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return Format\FormatValidatorInterface[] |
||
| 23 | */ |
||
| 24 | public function getFormatValidators() |
||
| 28 | } |
||
| 29 |