| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | abstract class TableCreator |
||
| 13 | { |
||
| 14 | protected static $map = [ |
||
| 15 | 'mysql' => MySQLTableCreator::class, |
||
| 16 | ]; |
||
| 17 | |||
| 18 | abstract function create(Connection $connection, TableStruct $fields); |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Table $table |
||
| 22 | * @return bool |
||
| 23 | * @throws SQLException |
||
| 24 | */ |
||
| 25 | public static function make(Table $table):bool { |
||
| 35 | } |
||
| 36 | } |