interface ConfigurationInterface (View source)

Interface for Migration Configurations to allow different configuration sources.

Methods

array<string, mixed>
getAvailableVersions()

Returns all available versions.

bool
isVersionAvailable(string $version)

Is the given version available?

array<string, mixed>
getMigrationVersion(string|int $version)

Returns the migration configuration with the given version.

Details

array<string, mixed> getAvailableVersions()

Returns all available versions.

Return Value

array<string, mixed>

bool isVersionAvailable(string $version)

Is the given version available?

Parameters

string $version

Return Value

bool

array<string, mixed> getMigrationVersion(string|int $version)

Returns the migration configuration with the given version.

Parameters

string|int $version

Return Value

array<string, mixed>