Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class FragmentInjection implements XmlInjectable |
||
11 | { |
||
12 | /** |
||
13 | * @var DeferredFragmentInjection |
||
14 | */ |
||
15 | private $injection; |
||
16 | |||
17 | 7 | public function inject(DOMDocument $dom): void |
|
18 | { |
||
19 | 7 | $this->injection->inject($dom); |
|
20 | 7 | } |
|
21 | |||
22 | 7 | public function __construct(string $parentNS, string $parentTagName, string $fragment) |
|
29 | 7 | } |
|
30 | ); |
||
33 |