Total Complexity | 11 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 85% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class ColumnSchemaBuilder extends AbstractColumnSchemaBuilder |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | 19 | protected function buildUnsignedString() |
|
24 | { |
||
25 | 19 | return $this->isUnsigned ? ' UNSIGNED' : ''; |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 19 | protected function buildAfterString() |
|
32 | { |
||
33 | 19 | return $this->after !== null ? |
|
34 | ' AFTER ' . $this->db->quoteColumnName($this->after) : |
||
35 | 19 | ''; |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | protected function buildFirstString() |
||
42 | { |
||
43 | return $this->isFirst ? ' FIRST' : ''; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | 19 | protected function buildCommentString() |
|
52 | } |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | 19 | public function __toString() |
|
73 |