Conditions | 1 |
Paths | 1 |
Total Lines | 26 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function __construct() |
||
13 | { |
||
14 | $configuration = [ |
||
15 | 'name' => 'Pagination', |
||
16 | 'description' => 'Pagination fields for the GraphQL Complete Connection Model', |
||
17 | 'fields' => [ |
||
18 | 'first' => [ |
||
19 | 'type' => Type::int(), |
||
20 | 'description' => 'Takes a non-negative integer.', |
||
21 | ], |
||
22 | 'after' => [ |
||
23 | 'type' => Type::string(), |
||
24 | 'description' => 'Takes the cursor type.', |
||
25 | ], |
||
26 | 'last' => [ |
||
27 | 'type' => Type::int(), |
||
28 | 'description' => 'Takes a non-negative integer.', |
||
29 | ], |
||
30 | 'before' => [ |
||
31 | 'type' => Type::string(), |
||
32 | 'description' => 'Takes the cursor type.', |
||
33 | ], |
||
34 | ], |
||
35 | ]; |
||
36 | |||
37 | parent::__construct($configuration); |
||
38 | } |
||
40 |