MigrationRepositoryInterface
interface MigrationRepositoryInterface
Methods
Get the completed migrations.
Get the list of migrations.
Get the list of the migrations by batch.
Get the last migration batch.
Get the completed migrations with their batch numbers.
Log that a migration was run.
Remove a migration from the log.
Get the next migration batch number.
Create the migration repository data store.
Determine if the migration repository exists.
Delete the migration repository data store.
Set the information source to gather data.
Details
at line 12
array
getRan()
Get the completed migrations.
at line 17
array
getMigrations(int $steps)
Get the list of migrations.
at line 22
array
getMigrationsByBatch(int $batch)
Get the list of the migrations by batch.
at line 27
array
getLast()
Get the last migration batch.
at line 32
array
getMigrationBatches()
Get the completed migrations with their batch numbers.
at line 37
void
log(string $file, int $batch)
Log that a migration was run.
at line 42
void
delete(object $migration)
Remove a migration from the log.
at line 47
int
getNextBatchNumber()
Get the next migration batch number.
at line 52
void
createRepository()
Create the migration repository data store.
at line 57
bool
repositoryExists()
Determine if the migration repository exists.
at line 62
void
deleteRepository()
Delete the migration repository data store.
at line 67
void
setSource(string|null $name)
Set the information source to gather data.