Returns the array of migrations to executed based on the given direction
and target version number.
public getMigrationsToExecute ( string $direction, string $to ) : |
||
$direction | string | The direction we are migrating. |
$to | string | The version to migrate to. |
return | $migrations The array of migrations we can execute. |