1 | <?php |
||
16 | final class SyntaxFactory |
||
17 | { |
||
18 | /** |
||
19 | * Creates a collection of Column objects. |
||
20 | * |
||
21 | * @param array $arguments |
||
22 | * @param Table|null $table |
||
23 | * |
||
24 | * @return array |
||
25 | */ |
||
26 | public static function createColumns(array &$arguments, $table = null) |
||
44 | |||
45 | /** |
||
46 | * Creates a Column object. |
||
47 | * |
||
48 | * @param array $argument |
||
49 | * @param null|Table $table |
||
50 | * |
||
51 | * @return Column |
||
52 | */ |
||
53 | public static function createColumn(array &$argument, $table = null) |
||
67 | |||
68 | /** |
||
69 | * Creates a Table object. |
||
70 | * |
||
71 | * @param string[] $table |
||
72 | * |
||
73 | * @return Table |
||
74 | */ |
||
75 | public static function createTable($table) |
||
92 | } |
||
93 |