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