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