1 | <?php |
||
5 | class IntegerColumn extends AbstractColumnDefinition implements NumericColumnInterface |
||
6 | { |
||
7 | /** |
||
8 | * @var bool |
||
9 | */ |
||
10 | protected $numericUnsigned = null; |
||
11 | |||
12 | /** |
||
13 | * @var bool |
||
14 | */ |
||
15 | protected $isAutoIncrement; |
||
16 | |||
17 | /** |
||
18 | * @return bool |
||
19 | */ |
||
20 | public function getNumericUnsigned() |
||
21 | 1 | { |
|
22 | return $this->numericUnsigned; |
||
23 | 1 | } |
|
24 | |||
25 | /** |
||
26 | * @param bool $numericUnsigned |
||
27 | * |
||
28 | * @return IntegerColumn |
||
29 | */ |
||
30 | 1 | public function setNumericUnsigned($numericUnsigned) |
|
31 | { |
||
32 | 1 | $this->numericUnsigned = $numericUnsigned; |
|
33 | 1 | ||
34 | return $this; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return bool |
||
39 | */ |
||
40 | 1 | public function isNumericUnsigned() |
|
44 | |||
45 | /** |
||
46 | * @param bool $isAutoIncrement to set |
||
47 | * |
||
48 | * @return IntegerColumn |
||
49 | */ |
||
50 | 1 | public function setIsAutoIncrement($isAutoIncrement) |
|
56 | |||
57 | /** |
||
58 | * @return bool $isAutoIncrement |
||
59 | 1 | */ |
|
60 | public function isAutoIncrement() |
||
64 | } |
||
65 |