| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class XmlFileLoader implements LoaderInterface |
||
| 12 | { |
||
| 13 | private string $filePath; |
||
| 14 | private SimpleXMLElement $data; |
||
| 15 | |||
| 16 | public function __construct(string $filePath) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getData(): SimpleXMLElement |
||
| 31 | { |
||
| 32 | return $this->data; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getSourceFilePath(): string |
||
| 38 | } |
||
| 39 | } |
||
| 40 |