Doctrine\DBAL\Event\SchemaCreateTableEventArgs
Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
- Author: Jan Sorgalla <jsorgalla@googlemail.com>
- License: http://www.opensource.org/licenses/lgpl-license.php LGPL
Synopsis
class SchemaCreateTableEventArgs
extends SchemaEventArgs
{
- // members
- private Table $_table;
- private array $_columns;
- private array $_options;
- private AbstractPlatform $_platform;
- private array $_sql;
- // methods
- public void __construct()
- public Table getTable()
- public array getColumns()
- public array getOptions()
- public AbstractPlatform getPlatform()
- public SchemaCreateTableEventArgs addSql()
- public array getSql()
- // Inherited methods from SchemaEventArgs
- public SchemaEventArgs preventDefault()
- public boolean isDefaultPrevented()
- // Inherited methods from EventArgs
- public static EventArgs getEmptyInstance()
Hierarchy
Members
private
- $_columns — array
- $_options — array
- $_platform — \Doctrine\DBAL\Platforms\AbstractPlatform
- $_sql — array
- $_table — \Doctrine\DBAL\Schema\Table
Methods
public
Inherited from Doctrine\DBAL\Event\SchemaEventArgs
public
Inherited from Doctrine\Common\EventArgs
public
- getEmptyInstance() — Gets the single, empty and immutable EventArgs instance.