Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class ImportMessage |
||
12 | { |
||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | private $limit; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $offset; |
||
22 | |||
23 | /** |
||
24 | * @return int |
||
25 | */ |
||
26 | public function getLimit(): int |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param int $limit |
||
33 | * @return ImportMessage |
||
34 | */ |
||
35 | public function setLimit(int $limit): ImportMessage |
||
36 | { |
||
37 | $this->limit = $limit; |
||
38 | return $this; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return int |
||
43 | */ |
||
44 | public function getOffset(): int |
||
45 | { |
||
46 | return $this->offset; |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @param int $offset |
||
51 | * @return ImportMessage |
||
52 | */ |
||
53 | public function setOffset(int $offset): ImportMessage |
||
57 | } |
||
58 | } |
||
59 |