['Migrated',
$migrated . ' out of ' .
$total],
] );
} private function runMigrationForIdentifier(InputInterface
$input, string
$identifier, int
$limit, ?int
$until): int
{ $this->io->
writeln(sprintf('Get collection for identifier: "%s"',
$identifier));
try { $collection =
$this->
collectMigrations($input,
$identifier);
} catch (UnknownMigrationSourceException
$e) { $this->io->
note(sprintf('No collection found for identifier: "%s", continuing',
$identifier));
return self::SUCCESS;
} $collection->
sync();
$this->io->
writeln('migrate Migrations'
);
$migrationCount =
$this->
getMigrationsCount($collection,
$until,
$limit);