| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | final class MockValue implements FromNativeInterface, ToNativeInterface, MakeEmptyInterface |
||
| 17 | { |
||
| 18 | use FromToNativeTrait; |
||
| 19 | |||
| 20 | private ?string $value; |
||
| 21 | |||
| 22 | public static function makeEmpty(): self |
||
| 25 | } |
||
| 26 | |||
| 27 | public function isEmpty(): bool |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function customFactory(array $state): self |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getValue(): ?string |
||
| 40 | } |
||
| 41 | |||
| 42 | private function __construct(string $value = null) |
||
| 47 |