1 | <?php |
||
2 | |||
3 | namespace DevoraliveCachet\Result; |
||
4 | |||
5 | use JMS\Serializer\Annotation as JMS; |
||
6 | |||
7 | /** |
||
8 | * Class Pagination |
||
9 | * @package DevoraliveCachet\Result |
||
10 | */ |
||
11 | class Pagination |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var int |
||
16 | * @JMS\Type("integer") |
||
17 | */ |
||
18 | private $total; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | * @JMS\Type("integer") |
||
23 | */ |
||
24 | private $count; |
||
0 ignored issues
–
show
|
|||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | * @JMS\Type("integer") |
||
29 | */ |
||
30 | private $perPage; |
||
0 ignored issues
–
show
|
|||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | * @JMS\Type("integer") |
||
35 | */ |
||
36 | private $currentPage; |
||
0 ignored issues
–
show
|
|||
37 | |||
38 | /** |
||
39 | * @var int |
||
40 | * @JMS\Type("integer") |
||
41 | */ |
||
42 | private $totalPages; |
||
0 ignored issues
–
show
|
|||
43 | |||
44 | /** |
||
45 | * @var array |
||
46 | * @JMS\Type("array<string, string>") |
||
47 | */ |
||
48 | private $links; |
||
0 ignored issues
–
show
|
|||
49 | } |
||
50 |