Total Complexity | 6 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class TextModel extends ColumnModel |
||
14 | { |
||
15 | |||
16 | private $max_length; |
||
17 | private $min_length; |
||
18 | private $limit; |
||
19 | |||
20 | /** |
||
21 | * @return mixed |
||
22 | */ |
||
23 | public function getLimit() |
||
24 | { |
||
25 | return $this->limit; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param mixed $limit |
||
30 | */ |
||
31 | public function setLimit($limit): void |
||
32 | { |
||
33 | $this->limit = $limit; |
||
34 | } |
||
35 | |||
36 | |||
37 | /** |
||
38 | * @return mixed |
||
39 | */ |
||
40 | public function getMaxLength() |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @param mixed $max_length |
||
47 | * @return TextModel |
||
48 | */ |
||
49 | public function setMaxLength($max_length) |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function getMinLength() |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * @param mixed $min_length |
||
65 | * @return TextModel |
||
66 | */ |
||
67 | public function setMinLength($min_length) |
||
71 | } |
||
72 | |||
73 | } |