Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class Number |
||
16 | { |
||
17 | use DefaultOption, Join; |
||
18 | |||
19 | public function max($max) |
||
20 | { |
||
21 | $data = columnSingleton()->getColumn($this->index); |
||
22 | /** @var NumberModel $data */ |
||
23 | $data->setMax($max); |
||
24 | columnSingleton()->setColumn($this->index, $data); |
||
25 | |||
26 | return $this; |
||
27 | } |
||
28 | |||
29 | public function min($min) |
||
30 | { |
||
31 | $data = columnSingleton()->getColumn($this->index); |
||
32 | /** @var NumberModel $data */ |
||
33 | $data->setMin($min); |
||
34 | columnSingleton()->setColumn($this->index, $data); |
||
35 | |||
36 | return $this; |
||
37 | } |
||
38 | |||
39 | public function step($step) |
||
47 | } |
||
48 | |||
49 | } |