| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class MoveOperation implements OperationInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | private $index; |
||
| 14 | |||
| 15 | private $pathPointer; |
||
| 16 | |||
| 17 | private $fromPointer; |
||
| 18 | |||
| 19 | public function __construct( |
||
| 20 | int $index, |
||
| 21 | PointerQueryInterface $pathPointer, |
||
| 22 | PointerQueryInterface $fromPointer |
||
| 23 | ) { |
||
| 24 | $this->index = $index; |
||
| 25 | $this->pathPointer = $pathPointer; |
||
| 26 | $this->fromPointer = $fromPointer; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function apply(NodeValueInterface $input, PointerProcessorInterface $pointerProcessor): NodeValueInterface |
||
| 37 | } |
||
| 38 | } |
||
| 39 |