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