Index Documentation

FsDbMigrationInfo
in package
implements IDbMigrationInfo

Table of Contents

Interfaces

IDbMigrationInfo
Information on a migration repository item.

Methods

__construct()  : mixed
getClassName()  : string
Returns the class name of the migration.
getName()  : string
Returns the name of the migration.
migrate()  : void
Creates an instance of the underlying migration and runs it. This process is irreversible!

Methods

__construct()

public __construct(string $path) : mixed
Parameters
$path : string

Filesystem path to the migration file.

getClassName()

Returns the class name of the migration.

public getClassName() : string
Return values
string

Migration class name.

getName()

Returns the name of the migration.

public getName() : string
Return values
string

Migration name.

migrate()

Creates an instance of the underlying migration and runs it. This process is irreversible!

public migrate(IDbConnection $conn) : void
Parameters
$conn : IDbConnection

Database connection to execute this migration on.


        
On this page

Search results