class SchemaCreateTableEventArgs extends SchemaEventArgs (View source)

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

Methods

bool
isDefaultPrevented()

No description

__construct(Table $table, array $columns, array $options, AbstractPlatform $platform)

No description

getTable()

No description

Column[]
getColumns()

No description

mixed[]
getOptions()

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(Table $table, array $columns, array $options, AbstractPlatform $platform)

Parameters

Table $table
array $columns
array $options
AbstractPlatform $platform

Table getTable()

Return Value

Table

Column[] getColumns()

Return Value

Column[]

mixed[] getOptions()

Return Value

mixed[]

AbstractPlatform getPlatform()

Return Value

AbstractPlatform

SchemaCreateTableEventArgs addSql(string|string[] $sql)

Parameters

string|string[] $sql

Return Value

SchemaCreateTableEventArgs

string[] getSql()

Return Value

string[]