Completed
Push — master ( 8db338...3a13f3 )
by Vragov
06:07
created

ListGroupRequest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 44
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getPage() 0 4 1
A setPage() 0 4 1
A getLimit() 0 4 1
A setLimit() 0 4 1
1
<?php
2
namespace OmnideskBundle\Request\Group;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class ListGroupRequest
8
 * @package OmnideskBundle\Request\Group
9
 */
10
class ListGroupRequest 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
    public function setPage(int $page)
34
    {
35
        $this->page = $page;
36
    }
37
38
    /**
39
     * @return int
40
     */
41
    public function getLimit()
42
    {
43
        return $this->limit;
44
    }
45
46
    /**
47
     * @param int $limit
48
     */
49
    public function setLimit(int $limit)
50
    {
51
        $this->limit = $limit;
52
    }
53
}
54