| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 5 | final class TXTData extends DataAbstract implements \Stringable |
||
| 6 | { |
||
| 7 | public function __construct(private string $value) |
||
| 8 | { |
||
| 9 | } |
||
| 10 | |||
| 11 | public function __toString(): string |
||
| 12 | { |
||
| 13 | return $this->value; |
||
| 14 | } |
||
| 15 | |||
| 16 | public function getValue(): string |
||
| 17 | { |
||
| 18 | return $this->value; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function toArray(): array |
||
| 25 | ]; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function __unserialize(array $unserialized): void |
||
| 31 | } |
||
| 32 | } |
||
| 33 |