class Factory (View source)

The Factory class is responsible for creating instances of the Version class for a version number and a migration class name.

Methods

__construct(Configuration $configuration, ExecutorInterface $versionExecutor)

No description

createVersion(string $version, string $migrationClassName)

No description

Details

__construct(Configuration $configuration, ExecutorInterface $versionExecutor)

Parameters

Configuration $configuration
ExecutorInterface $versionExecutor

createVersion(string $version, string $migrationClassName)

Parameters

string $version
string $migrationClassName