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