| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class Text extends AbstractStringContainer |
||
| 20 | { |
||
| 21 | 254 | private bool $isDelimiter = false; |
|
| 22 | |||
| 23 | 254 | /** |
|
| 24 | * @param string $contents The text contents |
||
| 25 | * @param array<string, mixed> $data Arbitrary data |
||
| 26 | */ |
||
| 27 | public function __construct(string $contents = '', array $data = []) |
||
| 35 | } |
||
| 36 | |||
| 37 | public function isDelimiter(): bool |
||
| 38 | { |
||
| 39 | return $this->isDelimiter; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function setDelimiter(bool $isDelimiter): void |
||
| 45 | } |
||
| 46 | |||
| 47 | public function append(string $literal): void |
||
| 52 |