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.

Details

at line line 12
array getRan()

Get the ran migrations for a given package.

Return Value

array

at line line 19
array getLast()

Get the last migration batch.

Return Value

array

at line line 28
void log( string $file, int $batch)

Log that a migration was run.

Parameters

string $file
int $batch

Return Value

void

at line line 36
void delete( object $migration)

Remove a migration from the log.

Parameters

object $migration

Return Value

void

at line line 43
int getNextBatchNumber()

Get the next migration batch number.

Return Value

int

at line line 50
void createRepository()

Create the migration repository data store.

Return Value

void

at line line 57
bool repositoryExists()

Determine if the migration repository exists.

Return Value

bool

at line line 65
void setSource( string $name)

Set the information source to gather data.

Parameters

string $name

Return Value

void