| Total Complexity | 5 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class ExistingValueResult implements ValueResultInterface |
||
| 12 | { |
||
| 13 | |||
| 14 | private $jsonEncoder; |
||
| 15 | |||
| 16 | private $jsonDecoder; |
||
| 17 | |||
| 18 | private $value; |
||
| 19 | |||
| 20 | 6 | public function __construct( |
|
| 28 | 6 | } |
|
| 29 | |||
| 30 | 1 | public function exists(): bool |
|
| 31 | { |
||
| 32 | 1 | return true; |
|
| 33 | } |
||
| 34 | |||
| 35 | 2 | public function encode(): string |
|
| 40 | } |
||
| 41 | |||
| 42 | 2 | public function decode() |
|
| 47 | } |
||
| 48 | |||
| 49 | 1 | public function get(): ValueInterface |
|
| 52 | } |
||
| 53 | } |
||
| 54 |