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