| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 52 | public function resolve($value, array $args, ResolveInfo $info) |
||
| 53 | { |
||
| 54 | $context = new ResolveContext($value, $args, $info); |
||
| 55 | |||
| 56 | $page = $this->createPage($context); |
||
| 57 | |||
| 58 | return ArrayConnection::connectionFromArraySlice( |
||
| 59 | $page->getData(), |
||
| 60 | $context->getArguments(), |
||
| 61 | $page->getFrom(), |
||
| 62 | $page->getTotal() |
||
| 63 | ); |
||
| 66 |