class SchemaAlterTableEventArgs extends SchemaEventArgs (View source)

Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform*Platform.

Methods

bool
isDefaultPrevented()

No description

__construct(TableDiff $tableDiff, AbstractPlatform $platform)

No description

getTableDiff()

No description

getPlatform()

No description

addSql(string|string[] $sql)

No description

string[]
getSql()

No description

Details

SchemaEventArgs preventDefault()

Return Value

SchemaEventArgs

bool isDefaultPrevented()

Return Value

bool

__construct(TableDiff $tableDiff, AbstractPlatform $platform)

Parameters

TableDiff $tableDiff
AbstractPlatform $platform

TableDiff getTableDiff()

Return Value

TableDiff

AbstractPlatform getPlatform()

Return Value

AbstractPlatform

SchemaAlterTableEventArgs addSql(string|string[] $sql)

Parameters

string|string[] $sql

Return Value

SchemaAlterTableEventArgs

string[] getSql()

Return Value

string[]