Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class ExistingSelectOneResult implements SelectOneResultInterface |
||
11 | { |
||
12 | |||
13 | private $jsonEncoder; |
||
14 | |||
15 | private $jsonDecoder; |
||
16 | |||
17 | private $value; |
||
18 | |||
19 | public function __construct(EncoderInterface $jsonEncoder, DecoderInterface $jsonDecoder, ValueInterface $value) |
||
24 | } |
||
25 | |||
26 | public function exists(): bool |
||
27 | { |
||
28 | return true; |
||
29 | } |
||
30 | |||
31 | public function encode(): string |
||
36 | } |
||
37 | |||
38 | public function decode() |
||
43 | } |
||
44 | } |
||
45 |