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