1 | <?php |
||
15 | class Xml implements ParserInterface |
||
16 | { |
||
17 | use ParserTrait; |
||
18 | |||
19 | /** |
||
20 | * Config constructor. |
||
21 | * |
||
22 | * @param string $schemaConfig |
||
23 | * @throws InvalidArgumentException |
||
24 | * |
||
25 | */ |
||
26 | public function __construct(string $schemaConfig = null) |
||
32 | |||
33 | /** |
||
34 | * {@inheritDoc} |
||
35 | */ |
||
36 | public function parse() |
||
47 | |||
48 | /** |
||
49 | * {@inheritDoc} |
||
50 | */ |
||
51 | public function checkFormat() |
||
60 | |||
61 | private function getSchema($schemaData) |
||
65 | |||
66 | private function arrayWalkRecursively(array $schemaData) |
||
78 | } |
||
79 |