1 | <?php |
||
16 | class MigrationHelper |
||
17 | { |
||
18 | /** |
||
19 | * @param string $driverName |
||
20 | * |
||
21 | * @throws RuntimeException |
||
22 | * @return null|string |
||
23 | * |
||
24 | */ |
||
25 | public static function resolveTableOptions($driverName) |
||
40 | |||
41 | /** |
||
42 | * @param $driverName |
||
43 | * |
||
44 | * @throws RuntimeException |
||
45 | * @return string |
||
46 | * |
||
47 | */ |
||
48 | public static function resolveDbType($driverName) |
||
63 | |||
64 | /** |
||
65 | * @param string $driverName |
||
66 | * |
||
67 | * @throws RuntimeException |
||
68 | * @return bool |
||
69 | * |
||
70 | */ |
||
71 | public static function isMicrosoftSQLServer($driverName) |
||
75 | |||
76 | /** |
||
77 | * @param $driverName |
||
78 | * @param bool $value |
||
79 | * |
||
80 | * @return bool|int |
||
81 | */ |
||
82 | public static function getBooleanValue($driverName, $value = false) |
||
89 | } |
||
90 |