interface MigrationRepositoryInterface

Methods

array
getRan($extension = null)

<p>Get the ran migrations for the given extension.</p>

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

<p>Log that a migration was run.</p>

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

<p>Remove a migration from the log.</p>

void
createRepository()

<p>Create the migration repository data store.</p>

bool
repositoryExists()

<p>Determine if the migration repository exists.</p>

void
setSource(string $name)

<p>Set the information source to gather data.</p>

Details

array getRan($extension = null)

<p>Get the ran migrations for the given extension.</p>

Parameters

$extension

Return Value

array

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

<p>Log that a migration was run.</p>

Parameters

string $file
string $extension

Return Value

void

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

<p>Remove a migration from the log.</p>

Parameters

string $file
string $extension

Return Value

void

void createRepository()

<p>Create the migration repository data store.</p>

Return Value

void

bool repositoryExists()

<p>Determine if the migration repository exists.</p>

Return Value

bool

void setSource(string $name)

<p>Set the information source to gather data.</p>

Parameters

string $name

Return Value

void