Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class TestOperation implements OperationInterface |
||
13 | { |
||
14 | |||
15 | private $index; |
||
16 | |||
17 | private $pathPointer; |
||
18 | |||
19 | private $value; |
||
20 | |||
21 | private $equalComparator; |
||
22 | |||
23 | public function __construct( |
||
24 | int $index, |
||
25 | PointerQueryInterface $pathPointer, |
||
26 | NodeValueInterface $value, |
||
27 | ComparatorInterface $equalComparator |
||
28 | ) { |
||
29 | $this->index = $index; |
||
30 | $this->pathPointer = $pathPointer; |
||
31 | $this->value = $value; |
||
32 | $this->equalComparator = $equalComparator; |
||
33 | } |
||
34 | |||
35 | public function apply(NodeValueInterface $input, PointerProcessorInterface $pointerProcessor): NodeValueInterface |
||
44 | } |
||
45 | |||
46 | private function matches(PointerResultInterface $selectResult): bool |
||
55 | } |
||
56 | } |
||
57 |