Load and make a instance of the migration
public getMigration ( string $name, string $class, string $type, array $options = [] ) : boolean | CakeMigration | ||
$name | string | File name where migration resides |
$class | string | Migration class name |
$type | string | Can be 'app' or a plugin name |
$options | array | Extra options to send to CakeMigration class |
return | boolean | CakeMigration | False in case of no file found, instance of the migration |