Total Complexity | 8 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | final class XmlConfigLoad |
||
20 | { |
||
21 | /** @var string */ |
||
22 | private $configName; |
||
23 | |||
24 | /** @var XmlLoad */ |
||
25 | private $xmlLoad; |
||
26 | |||
27 | public function __construct(string $configName) |
||
28 | { |
||
29 | $this->configName = $configName; |
||
30 | $this->xmlLoad = new XmlLoad(); |
||
31 | } |
||
32 | |||
33 | public function __invoke(string $xmlPath, string $xsdPath): SimpleXMLElement |
||
38 | } |
||
39 | |||
40 | public function locateConfigFile(string $path): string |
||
61 |