| 1 | <?php |
||
| 13 | class ResponseSchemaValidator |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var array [string format => [int responseCode => string pathToSchemaFile]] |
||
| 17 | */ |
||
| 18 | protected $schemas = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param array $data [string format => [int responseCode => string pathToSchemaFile]] |
||
| 22 | * |
||
| 23 | * @throws \InvalidArgumentException |
||
| 24 | */ |
||
| 25 | public function __construct(array $data) |
||
| 43 | |||
| 44 | public function getSchemas(): array |
||
| 48 | |||
| 49 | protected function loadFormatSchemas(string $format, array $schemas): void |
||
| 66 | } |
||
| 67 |