| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| 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 | 8 | public function __construct( |
|
| 24 | ValueEncoderInterface $encoder, |
||
| 25 | ValueDecoderInterface $decoder, |
||
| 26 | OperationInterface ...$operations |
||
| 27 | ) { |
||
| 28 | 8 | $this->encoder = $encoder; |
|
| 29 | 8 | $this->decoder = $decoder; |
|
| 30 | 8 | $this->operations = $operations; |
|
| 31 | 8 | } |
|
| 32 | |||
| 33 | 8 | public function __invoke(NodeValueInterface $data, PointerProcessorInterface $pointerProcessor): ResultInterface |
|
| 41 | } |
||
| 42 | } |
||
| 43 |