Documentation

RevertCommand
in package

Read onlyYes

Reverts the migration.

Table of Contents

Methods

__construct()  : mixed
execute()  : bool
Execute the command.
getLastMigrationName()  : mixed

Methods

__construct()

public __construct(MigrationInterface $migration, PDO $connection, string $migrationRecordDeleteStatement) : mixed
Parameters
$migration : MigrationInterface
$connection : PDO
$migrationRecordDeleteStatement : string

execute()

Execute the command.

public execute() : bool
Return values
bool

getLastMigrationName()

public getLastMigrationName() : mixed

        
On this page

Search results