Completed
Push — master ( acf0da...2b1360 )
by Vladimir
02:01
created

Meta::setCurrentPage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AcquiroPay\Models\Pagination;
6
7
use stdClass;
8
9
class Meta
10
{
11
    private $total;
12
    private $count;
13
    private $perPage;
14
    private $currentPage;
15
    private $totalPages;
16
    private $links;
17
18
    /**
19
     * @return mixed
20
     */
21
    public function getTotal()
22
    {
23
        return $this->total;
24
    }
25
26
    /**
27
     * @param mixed $total
28
     */
29
    public function setTotal($total)
30
    {
31
        $this->total = $total;
32
    }
33
34
    /**
35
     * @return mixed
36
     */
37
    public function getCount()
38
    {
39
        return $this->count;
40
    }
41
42
    /**
43
     * @param mixed $count
44
     */
45
    public function setCount($count)
46
    {
47
        $this->count = $count;
48
    }
49
50
    /**
51
     * @return mixed
52
     */
53
    public function getPerPage()
54
    {
55
        return $this->perPage;
56
    }
57
58
    /**
59
     * @param mixed $perPage
60
     */
61
    public function setPerPage($perPage)
62
    {
63
        $this->perPage = $perPage;
64
    }
65
66
    /**
67
     * @return mixed
68
     */
69
    public function getCurrentPage()
70
    {
71
        return $this->currentPage;
72
    }
73
74
    /**
75
     * @param mixed $currentPage
76
     */
77
    public function setCurrentPage($currentPage)
78
    {
79
        $this->currentPage = $currentPage;
80
    }
81
82
    /**
83
     * @return mixed
84
     */
85
    public function getTotalPages()
86
    {
87
        return $this->totalPages;
88
    }
89
90
    public function setTotalPages(int $totalPages): void
91
    {
92
        $this->totalPages = $totalPages;
93
    }
94
95
    public function getLinks(): stdClass
96
    {
97
        return $this->links;
98
    }
99
100
    public function setLinks(stdClass $links): void
101
    {
102
        $this->links = $links;
103
    }
104
}
105