src/Components/LockExpression.php 1 location
|
@@ 106-113 (lines=8) @@
|
103 |
|
* |
104 |
|
* @return string |
105 |
|
*/ |
106 |
|
public static function build($component, array $options = array()) |
107 |
|
{ |
108 |
|
if (is_array($component)) { |
109 |
|
return implode(', ', $component); |
110 |
|
} |
111 |
|
|
112 |
|
return $component->table . ' ' . $component->type; |
113 |
|
} |
114 |
|
|
115 |
|
private static function parseLockType(Parser $parser, TokensList $list) |
116 |
|
{ |
src/Components/OrderKeyword.php 1 location
|
@@ 132-139 (lines=8) @@
|
129 |
|
* |
130 |
|
* @return string |
131 |
|
*/ |
132 |
|
public static function build($component, array $options = array()) |
133 |
|
{ |
134 |
|
if (is_array($component)) { |
135 |
|
return implode(', ', $component); |
136 |
|
} |
137 |
|
|
138 |
|
return $component->expr . ' ' . $component->type; |
139 |
|
} |
140 |
|
} |
141 |
|
|
src/Components/RenameOperation.php 1 location
|
@@ 174-181 (lines=8) @@
|
171 |
|
* |
172 |
|
* @return string |
173 |
|
*/ |
174 |
|
public static function build($component, array $options = array()) |
175 |
|
{ |
176 |
|
if (is_array($component)) { |
177 |
|
return implode(', ', $component); |
178 |
|
} |
179 |
|
|
180 |
|
return $component->old . ' TO ' . $component->new; |
181 |
|
} |
182 |
|
} |
183 |
|
|