1 | <?php |
||
12 | class JsonSchemaValidatorFactory extends AbstractSchemaValidatorFactory |
||
13 | { |
||
14 | /** |
||
15 | * @param string $id |
||
16 | * |
||
17 | * @throws FileLocatorFileNotFoundException |
||
18 | * @throws \InvalidArgumentException |
||
19 | * @throws \RuntimeException |
||
20 | * |
||
21 | * @return JsonSchemaValidator |
||
22 | */ |
||
23 | 2 | public function getValidator(string $id): JsonSchemaValidator |
|
33 | |||
34 | /** |
||
35 | * @param string $id |
||
36 | * |
||
37 | * @throws \InvalidArgumentException |
||
38 | * @throws FileLocatorFileNotFoundException |
||
39 | * |
||
40 | * @return \stdClass |
||
41 | */ |
||
42 | 2 | protected function createSchema(string $id): \stdClass |
|
56 | } |
||
57 |