Copied!

MigrationExecutor

MigrationExecutor.php : 13

Methods

publicexecute()

MigrationExecutor.php : 23

Executes a single Migration.

public execute(Migration $migration) : void

Migration should be wrapped in a transaction.

Parameters

Name Type Default value Description
$migration Migration - -
Tags
Throws
UnhandledMigrationException

when Migration execution fails.

Throws
InvalidMigrationException

when Migration format is invalid.