interface ExecutorInterface (View source)

The ExecutorInterface defines the interface used for adding sql for a migration and executing that sql.

Methods

addSql(string $sql, array $params = [], array $types = [])

No description

execute(Version $version, AbstractMigration $migration, string $direction, MigratorConfiguration|null $migratorConfiguration = null)

No description

Details

addSql(string $sql, array $params = [], array $types = [])

Parameters

string $sql
array $params
array $types

execute(Version $version, AbstractMigration $migration, string $direction, MigratorConfiguration|null $migratorConfiguration = null)

Parameters

Version $version
AbstractMigration $migration
string $direction
MigratorConfiguration|null $migratorConfiguration