Total Complexity | 6 |
Total Lines | 75 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
17 | class Delivery |
||
18 | { |
||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $cost; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $days; |
||
28 | |||
29 | /** |
||
30 | * @var int |
||
31 | */ |
||
32 | private $orderBefore; |
||
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | public function getCost() |
||
38 | { |
||
39 | return $this->cost; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param int $cost |
||
44 | * |
||
45 | * @return Delivery |
||
46 | */ |
||
47 | public function setCost($cost) |
||
48 | { |
||
49 | $this->cost = $cost; |
||
50 | |||
51 | return $this; |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @return int |
||
56 | */ |
||
57 | public function getDays() |
||
58 | { |
||
59 | return $this->days; |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * @param int $days |
||
64 | * |
||
65 | * @return Delivery |
||
66 | */ |
||
67 | public function setDays($days) |
||
68 | { |
||
69 | $this->days = $days; |
||
70 | |||
71 | return $this; |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * @return int|null |
||
76 | */ |
||
77 | public function getOrderBefore() |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * @param int|null $orderBefore |
||
84 | * |
||
85 | * @return Delivery |
||
86 | */ |
||
87 | public function setOrderBefore($orderBefore) |
||
92 | } |
||
93 | } |
||
94 |