class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs (View source)

Event Arguments used when SQL queries for renaming table columns are generated inside Doctrine\DBAL\Platform*Platform.

Methods

bool
isDefaultPrevented()

No description

__construct(string $oldColumnName, Column $column, TableDiff $tableDiff, AbstractPlatform $platform)

No description

string
getOldColumnName()

No description

getColumn()

No description

getTableDiff()

No description

getPlatform()

No description

addSql(string|array $sql)

No description

array
getSql()

No description

Details

SchemaEventArgs preventDefault()

Return Value

SchemaEventArgs

bool isDefaultPrevented()

Return Value

bool

__construct(string $oldColumnName, Column $column, TableDiff $tableDiff, AbstractPlatform $platform)

Parameters

string $oldColumnName
Column $column
TableDiff $tableDiff
AbstractPlatform $platform

string getOldColumnName()

Return Value

string

Column getColumn()

Return Value

Column

TableDiff getTableDiff()

Return Value

TableDiff

AbstractPlatform getPlatform()

Return Value

AbstractPlatform

SchemaAlterTableRenameColumnEventArgs addSql(string|array $sql)

Parameters

string|array $sql

Return Value

SchemaAlterTableRenameColumnEventArgs

array getSql()

Return Value

array