ListMessageRequest   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 96
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 8
lcom 0
cbo 0
dl 0
loc 96
rs 10
c 0
b 0
f 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getCaseId() 0 4 1
A setCaseId() 0 4 1
A getPage() 0 4 1
A setPage() 0 4 1
A getLimit() 0 4 1
A setLimit() 0 4 1
A getOrder() 0 4 1
A setOrder() 0 4 1
1
<?php
2
namespace OmnideskBundle\Request\Message;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class ListMessageRequest
8
 * @package OmnideskBundle\Request\Message
9
 */
10
class ListMessageRequest implements RequestInterface
11
{
12
    /**
13
     * @var string
14
     */
15
    const ORDER_ASC = 'asc';
16
17
    /**
18
     * @var string
19
     */
20
    const ORDER_DESC = 'desc';
21
22
    /**
23
     * @var int
24
     */
25
    private $caseId;
26
27
    /**
28
     * @var int
29
     */
30
    private $page;
31
32
    /**
33
     * @var int
34
     */
35
    private $limit;
36
37
    /**
38
     * @var string
39
     */
40
    private $order;
41
42
    /**
43
     * @return int
44
     */
45
    public function getCaseId()
46
    {
47
        return $this->caseId;
48
    }
49
50
    /**
51
     * @param int $caseId
52
     */
53
    public function setCaseId($caseId)
54
    {
55
        $this->caseId = $caseId;
56
    }
57
58
    /**
59
     * @return int
60
     */
61
    public function getPage()
62
    {
63
        return $this->page;
64
    }
65
66
    /**
67
     * @param int $page
68
     */
69
    public function setPage($page)
70
    {
71
        $this->page = $page;
72
    }
73
74
    /**
75
     * @return int
76
     */
77
    public function getLimit()
78
    {
79
        return $this->limit;
80
    }
81
82
    /**
83
     * @param int $limit
84
     */
85
    public function setLimit($limit)
86
    {
87
        $this->limit = $limit;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getOrder()
94
    {
95
        return $this->order;
96
    }
97
98
    /**
99
     * @param string $order
100
     */
101
    public function setOrder($order)
102
    {
103
        $this->order = $order;
104
    }
105
}
106