1 | <?php |
||
28 | class Migration |
||
29 | { |
||
30 | |||
31 | const MIGRATION_DIR = 'Migrations'; |
||
32 | |||
33 | /** |
||
34 | * Get plugin migration path. |
||
35 | * |
||
36 | * @param string $plugin |
||
37 | * @return string |
||
38 | */ |
||
39 | public static function getPath($plugin) |
||
43 | |||
44 | /** |
||
45 | * Get data for migration. |
||
46 | * |
||
47 | * @param string $plugin |
||
48 | * @return array |
||
49 | */ |
||
50 | public static function getData($plugin) |
||
73 | |||
74 | /** |
||
75 | * |
||
76 | * |
||
77 | * @param string $plugin |
||
78 | * @return Manager |
||
79 | */ |
||
80 | public static function getManager($plugin) |
||
84 | } |
||
85 |