class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs (View source)

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

Methods

boolean
isDefaultPrevented()

No description

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

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

boolean isDefaultPrevented()

Return Value

boolean

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

Parameters

Column $column
TableDiff $tableDiff
AbstractPlatform $platform

Column getColumn()

Return Value

Column

TableDiff getTableDiff()

Return Value

TableDiff

AbstractPlatform getPlatform()

Return Value

AbstractPlatform

SchemaAlterTableAddColumnEventArgs addSql(string|array $sql)

Parameters

string|array $sql

Return Value

SchemaAlterTableAddColumnEventArgs

array getSql()

Return Value

array