interface MigrationRepositoryInterface

Methods

array
getRan(string $extension = null)

Get the ran migrations for the given extension.

void
log(string $file, string $extension = null)

Log that a migration was run.

void
delete(string $file, string $extension = null)

Remove a migration from the log.

void
createRepository()

Create the migration repository data store.

bool
repositoryExists()

Determine if the migration repository exists.

Details

array getRan(string $extension = null)

Get the ran migrations for the given extension.

Parameters

string $extension

Return Value

array

void log(string $file, string $extension = null)

Log that a migration was run.

Parameters

string $file
string $extension

Return Value

void

void delete(string $file, string $extension = null)

Remove a migration from the log.

Parameters

string $file
string $extension

Return Value

void

void createRepository()

Create the migration repository data store.

Return Value

void

bool repositoryExists()

Determine if the migration repository exists.

Return Value

bool