MigrationRepositoryInterface
interface MigrationRepositoryInterface (View source)
Methods
array
getRan()
Get the ran migrations for a given package.
array
getLast()
Get the last migration batch.
void
log(
string $file,
int $batch)
Log that a migration was run.
void
delete(
object $migration)
Remove a migration from the log.
int
getNextBatchNumber()
Get the next migration batch number.
void
createRepository()
Create the migration repository data store.
bool
repositoryExists()
Determine if the migration repository exists.
void
setSource(
string $name)
Set the information source to gather data.