Doctrine\DBAL\Event\SchemaDropTableEventArgs
Event Arguments used when the SQL query for dropping 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 SchemaDropTableEventArgs
extends SchemaEventArgs
{
- // members
- private Table $_table;
- private AbstractPlatform $_platform;
- private string $_sql;
- // methods
- public void __construct()
- public Table getTable()
- public AbstractPlatform getPlatform()
- public SchemaDropTableEventArgs setSql()
- public string getSql()
- // Inherited methods from SchemaEventArgs
- public SchemaEventArgs preventDefault()
- public boolean isDefaultPrevented()
- // Inherited methods from EventArgs
- public static EventArgs getEmptyInstance()
Hierarchy
Members
private
- $_platform — \Doctrine\DBAL\Platforms\AbstractPlatform
- $_sql — string
- $_table — Doctrine\DBAL\Event\string|\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.