Doctrine\DBAL\Event\SchemaColumnDefinitionEventArgs
Event Arguments used when the portable column definition is generated inside Doctrine\DBAL\Schema\AbstractSchemaManager.
- Author: Jan Sorgalla <jsorgalla@googlemail.com>
- License: http://www.opensource.org/licenses/lgpl-license.php LGPL
Synopsis
class SchemaColumnDefinitionEventArgs
extends SchemaEventArgs
{
- // members
- private Column $_column;
- private array $_tableColumn;
- private string $_table;
- private string $_database;
- private Connection $_connection;
- // methods
- public void __construct()
- public SchemaColumnDefinitionEventArgs setColumn()
- public Column getColumn()
- public array getTableColumn()
- public string getTable()
- public string getDatabase()
- public Connection getConnection()
- public AbstractPlatform getDatabasePlatform()
- // Inherited methods from SchemaEventArgs
- public SchemaEventArgs preventDefault()
- public boolean isDefaultPrevented()
- // Inherited methods from EventArgs
- public static EventArgs getEmptyInstance()
Hierarchy
Members
private
- $_column — \Doctrine\DBAL\Schema\Column
- $_connection — \Doctrine\DBAL\Connection
- $_database — string
- $_table — string
- $_tableColumn
—
array
Raw column data as fetched from the database
Methods
public
- __construct()
- getColumn()
- getConnection()
- getDatabase()
- getDatabasePlatform()
- getTable()
- getTableColumn()
- setColumn() — Allows to clear the column which means the column will be excluded from tables column list.
Inherited from Doctrine\DBAL\Event\SchemaEventArgs
public
Inherited from Doctrine\Common\EventArgs
public
- getEmptyInstance() — Gets the single, empty and immutable EventArgs instance.