| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class ShortString implements Value |
||
| 12 | { |
||
| 13 | private $value; |
||
| 14 | private $original; |
||
| 15 | |||
| 16 | 97 | public function __construct(Str $string) |
|
| 19 | 97 | } |
|
| 20 | |||
| 21 | 69 | public static function fromStream(Readable $stream): Value |
|
| 26 | } |
||
| 27 | |||
| 28 | 72 | public function original(): Str |
|
| 29 | { |
||
| 30 | 72 | return $this->original; |
|
| 31 | } |
||
| 32 | |||
| 33 | 96 | public function __toString(): string |
|
| 38 | } |
||
| 39 | } |
||
| 40 |