Total Complexity | 6 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class Request |
||
7 | { |
||
8 | protected $draw; |
||
9 | |||
10 | protected $columns; |
||
11 | |||
12 | protected $order; |
||
13 | |||
14 | protected $start; |
||
15 | |||
16 | protected $length; |
||
17 | |||
18 | protected $search; |
||
19 | |||
20 | public function __construct($draw, Items $columns, Items $order, $start, $length, Search $search) |
||
21 | { |
||
22 | $this->draw = (int) $draw; |
||
23 | $this->columns = $columns; |
||
24 | $this->order = $order; |
||
25 | $this->start = (int) $start; |
||
26 | $this->length = (int) $length; |
||
27 | $this->search = $search; |
||
28 | } |
||
29 | |||
30 | public function getColumns() |
||
31 | { |
||
32 | return $this->columns->getArrayObject(); |
||
33 | } |
||
34 | |||
35 | public function getDraw() |
||
38 | } |
||
39 | |||
40 | public function getLength() |
||
43 | } |
||
44 | |||
45 | public function getOrder() |
||
46 | { |
||
47 | return $this->order->getArrayObject(); |
||
48 | } |
||
49 | |||
50 | public function getStart() |
||
53 | } |
||
54 | } |
||
55 |