DatabaseMigrationRepository::getNextBatchNumber()

int getNextBatchNumber() Get the next migration batch number. Return Value int

DatabaseMigrationRepository::getMigrations()

array getMigrations(int $steps) Get list of migrations. Parameters int $steps Return Value array

DatabaseMigrationRepository::getLastBatchNumber()

int getLastBatchNumber() Get the last migration batch number. Return Value int

DatabaseMigrationRepository::getLast()

array getLast() Get the last migration batch. Return Value array

DatabaseMigrationRepository::getConnectionResolver()

ConnectionResolverInterface getConnectionResolver() Get the connection resolver instance. Return Value ConnectionResolverInterface

DatabaseMigrationRepository::getConnection()

Connection getConnection() Resolve the database connection instance. Return Value Connection

DatabaseMigrationRepository::delete()

void delete(object $migration) Remove a migration from the log. Parameters object $migration Return Value void

DatabaseMigrationRepository::createRepository()

void createRepository() Create the migration repository data store. Return Value void

DatabaseMigrationRepository

DatabaseMigrationRepository class DatabaseMigrationRepository implements MigrationRepositoryInterface (View source) Methods void __construct(ConnectionResolverInterface $resolver, string $table) Create a new database migration repository instance. array getRan() Get the ran migrations. array getMigrations(int $steps) Get list of migrations. array getLast() Get the last migration batch. void log(string $file, int $batch) Log that a migration was run. void delete(ob

DatabaseMessage::__construct()

void __construct(array $data = array()) Create a new database message. Parameters array $data Return Value void