Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class SchemaValidator implements SchemaValidatorInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var ContextBuilderInterface |
||
12 | */ |
||
13 | protected $contextBuilder; |
||
14 | |||
15 | /** |
||
16 | * @var SchemaValidatorInterface[] |
||
17 | */ |
||
18 | protected $validators; |
||
19 | |||
20 | /** |
||
21 | * SchemaValidator constructor. |
||
22 | * @param ContextBuilderInterface|null $contextBuilder |
||
23 | */ |
||
24 | public function __construct(?ContextBuilderInterface $contextBuilder = null) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | public function validate(SchemaInterface $schema, ?array $validators = null): array |
||
45 |