Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class Query implements QueryInterface |
||
15 | { |
||
16 | |||
17 | private $encoder; |
||
18 | |||
19 | private $decoder; |
||
20 | |||
21 | private $operations; |
||
22 | |||
23 | public function __construct( |
||
24 | ValueEncoderInterface $encoder, |
||
25 | ValueDecoderInterface $decoder, |
||
26 | OperationInterface ...$operations |
||
27 | ) { |
||
28 | $this->encoder = $encoder; |
||
29 | $this->decoder = $decoder; |
||
30 | $this->operations = $operations; |
||
31 | } |
||
32 | |||
33 | public function __invoke(NodeValueInterface $data, PointerProcessorInterface $pointerProcessor): ResultInterface |
||
41 | } |
||
42 | } |
||
43 |