Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
5 | class Raw |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | protected $raw; |
||
12 | |||
13 | /** |
||
14 | * Raw constructor. |
||
15 | * |
||
16 | * @param string $raw |
||
17 | */ |
||
18 | public function __construct(string $raw) |
||
19 | { |
||
20 | $this->raw = $raw; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param \DOMDocument $document |
||
25 | * @return \DOMDocumentFragment |
||
26 | */ |
||
27 | public function fragment(\DOMDocument $document): \DOMNode |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | public function __toString(): string |
||
43 |