YamlConfiguration
class YamlConfiguration extends Configuration (View source)
Migration Configuration using YAML files.
Properties
protected array | $availableVersions | from Configuration | |
protected array | $loadedVersions | from Configuration | |
protected YamlSource | $yamlSourceImporter | ||
protected PackageManager | $packageManager |
Methods
bool
isVersionAvailable(string $version)
If the given version is available, true is returned.
from
Configuration
array
getMigrationVersion(string $version)
Returns the configuration of the given version, if available.
from
Configuration
bool
isVersionLoaded(string $version)
Check if the given version has been loaded already.
from
Configuration
array
loadConfiguration(string $version)
Loads a specific version into an array.
array
registerAvailableVersions()
Loads a list of available versions into an array.
void
registerVersionInDirectory(PackageInterface $package, string $directoryName)
No description
Details
array
getAvailableVersions()
Returns an array with all available versions.
bool
isVersionAvailable(string $version)
If the given version is available, true is returned.
array
getMigrationVersion(string $version)
Returns the configuration of the given version, if available.
protected bool
isVersionLoaded(string $version)
Check if the given version has been loaded already.
protected array
loadConfiguration(string $version)
Loads a specific version into an array.
protected array
registerAvailableVersions()
Loads a list of available versions into an array.
protected void
registerVersionInDirectory(PackageInterface $package, string $directoryName)
No description