Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Xethron\MigrationsGenerator\Syntax; |
||
7 | class RemoveForeignKeysFromTable extends Table |
||
8 | { |
||
9 | /** |
||
10 | * Return string for dropping a foreign key |
||
11 | * |
||
12 | * @param array $foreignKey |
||
13 | * @return string |
||
14 | */ |
||
15 | protected function getItem(array $foreignKey): string |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Create a default index name for the table. |
||
23 | * |
||
24 | * @param string $column |
||
25 | * @return string |
||
26 | */ |
||
27 | protected function createIndexName(string $column): string |
||
34 |