Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class AbstractStringContainer extends AbstractInline implements \Stringable, StringContainerInterface |
||
22 | { |
||
23 | /** @var string */ |
||
24 | protected $literal = ''; |
||
25 | |||
26 | /** |
||
27 | * @param array<string, mixed> $data |
||
28 | */ |
||
29 | public function __construct(string $contents = '', array $data = []) |
||
33 | } |
||
34 | |||
35 | public function __toString(): string |
||
36 | { |
||
37 | return $this->getLiteral(); |
||
38 | } |
||
39 | |||
40 | public function getLiteral(): string |
||
43 | } |
||
44 | |||
45 | public function setLiteral(string $contents): void |
||
48 | } |
||
49 | } |
||
50 |