| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | 8 | public function __invoke(NodeValueInterface $data, PointerProcessorInterface $pointerProcessor): ResultInterface |
|
| 34 | { |
||
| 35 | 8 | $output = $data; |
|
| 36 | 8 | foreach ($this->operations as $operation) { |
|
| 37 | 5 | $output = $operation->apply($output, $pointerProcessor); |
|
| 38 | } |
||
| 39 | |||
| 40 | 8 | return new Result($output, $this->encoder, $this->decoder); |
|
| 41 | } |
||
| 43 |