Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function apply(NodeValueInterface $input, PointerProcessorInterface $pointerProcessor): NodeValueInterface |
||
30 | { |
||
31 | $selectResult = $pointerProcessor->select($this->fromPointer, $input); |
||
32 | $deleteResult = $pointerProcessor->delete($this->fromPointer, $input); |
||
33 | |||
34 | return $pointerProcessor |
||
35 | ->add($this->pathPointer, $deleteResult->get(), $selectResult->get()) |
||
36 | ->get(); |
||
37 | } |
||
39 |