Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function parse() |
||
37 | { |
||
38 | $this->isConfigEmpty($this->schemaConfig); |
||
39 | try { |
||
40 | $schemaData = new SimpleXMLElement($this->schemaConfig); |
||
41 | } catch (\Exception $e) { |
||
42 | throw new InvalidArgumentException($e->getMessage()); |
||
43 | } |
||
44 | $schema = $this->getSchema($schemaData); |
||
45 | return ['schema' => $schema]; |
||
46 | } |
||
47 | |||
79 |