| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class ShortString implements Value |
||
| 12 | { |
||
| 13 | private $value; |
||
| 14 | private $original; |
||
| 15 | |||
| 16 | 98 | public function __construct(Str $string) |
|
| 24 | 97 | } |
|
| 25 | |||
| 26 | 69 | public static function fromStream(Readable $stream): Value |
|
| 31 | } |
||
| 32 | |||
| 33 | 72 | public function original(): Str |
|
| 34 | { |
||
| 35 | 72 | return $this->original; |
|
| 36 | } |
||
| 37 | |||
| 38 | 96 | public function __toString(): string |
|
| 41 | } |
||
| 42 | } |
||
| 43 |