| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class DOMElementInjection implements XmlInjectable |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $parentNS; |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $parentTagName; |
||
| 21 | /** |
||
| 22 | * @var DOMElement |
||
| 23 | */ |
||
| 24 | private $child; |
||
| 25 | |||
| 26 | 1 | public function inject(DOMDocument $dom): void |
|
| 30 | 1 | } |
|
| 31 | |||
| 32 | 1 | public function __construct(string $parentNS, string $parentTagName, DOMElement $child) |
|
| 39 |