ListStaffRequest::getPage()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace OmnideskBundle\Request\Staff;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class ListStaffRequest
8
 * @package OmnideskBundle\Request\Staff
9
 */
10
class ListStaffRequest implements RequestInterface
11
{
12
    /**
13
     * @var int
14
     */
15
    private $page;
16
17
    /**
18
     * @var int
19
     */
20
    private $limit;
21
22
    /**
23
     * @return int
24
     */
25
    public function getPage()
26
    {
27
        return $this->page;
28
    }
29
30
    /**
31
     * @param int $page
32
     *
33
     * @return ListStaffRequest
34
     */
35
    public function setPage($page)
36
    {
37
        $this->page = $page;
38
39
        return $this;
40
    }
41
42
    /**
43
     * @return int
44
     */
45
    public function getLimit()
46
    {
47
        return $this->limit;
48
    }
49
50
    /**
51
     * @param int $limit
52
     *
53
     * @return ListStaffRequest
54
     */
55
    public function setLimit($limit)
56
    {
57
        $this->limit = $limit;
58
59
        return $this;
60
    }
61
}
62