5.1.5.4. Baleen\Migrations\Timeline\TimelineInterface

interface TimelineInterface

The Timeline is responsible of emitting MigrateCommands based on how the user wants to navigate the timeline (e.g. travel to a specific version). It takes into account the current state.

upTowards($version, OptionsInterface $options)

Runs all versions up, starting from the oldest and until (and including) the specified version.

Parameters:
downTowards($version, OptionsInterface $options)

Runs all versions down, starting from the newest and until (and including) the specified version.

Parameters:
goTowards($goalVersion, OptionsInterface $options)

Runs migrations up/down so that all versions before and including the specified version are “up” and all versions after the specified version are “down”.

Parameters:
runSingle(DeltaInterface $version, OptionsInterface $options, Progress $progress)

Runs a single migration in the specified direction.

Parameters:
Returns:

DeltaInterface|false

getVersions()

getVersions

Returns:Linked