Baleen\Cli\CommandBus\Timeline\MigrateHandler

class MigrateHandler

Class MigrateHandler.

property progress

protected ProgressBar

property saveChanges

protected bool

property strategies

protected array

property trackProgress

protected bool

property output

protected OutputInterface

property command

protected MigrateMessage

handle(MigrateMessage $command)

handle.

Parameters:
attachEvents(OutputInterface $output, EventDispatcherInterface $dispatcher)
Parameters:
  • $output (OutputInterface) –
  • $dispatcher (EventDispatcherInterface) –
saveVersionListener(MigrationEvent $event)

saveVersionListener.

Parameters:
onMigrationBefore(MigrationEvent $event)
Parameters:
onMigrationAfter(MigrationEvent $event)

onMigrationAfter.

Parameters:
onCollectionBefore(CollectionEvent $event)

onCollectionBefore.

Parameters:
onCollectionAfter()

onCollectionAfter.

getStrategyOption(InputInterface $input)
Parameters:
  • $input (InputInterface) –
Returns:

string