| 1 | <?php declare(strict_types = 1); |
||
| 17 | class MetaSchemaValidator |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var \stdClass |
||
| 21 | */ |
||
| 22 | private $schema; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var SchemaValidator |
||
| 26 | */ |
||
| 27 | private $validator; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var Schema\SchemaFactory |
||
| 31 | */ |
||
| 32 | private $schemaFactory; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * MetaSchemaValidator constructor. |
||
| 36 | * |
||
| 37 | * @param \stdClass $schema |
||
| 38 | * @param SchemaValidator $validator |
||
| 39 | */ |
||
| 40 | public function __construct(\stdClass $schema, SchemaValidator $validator) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param \stdClass $definition |
||
| 49 | */ |
||
| 50 | public function validate(\stdClass $definition) |
||
| 56 | } |
||
| 57 |