Events.php 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?php

namespace Doctrine\DBAL;

/**
 * Container for all DBAL events.
 *
 * This class cannot be instantiated.
 */
final class Events
{
Benjamin Morel's avatar
Benjamin Morel committed
12 13
    /**
     * Private constructor. This class cannot be instantiated.
14 15
     *
     * @codeCoverageIgnore
Benjamin Morel's avatar
Benjamin Morel committed
16 17 18 19
     */
    private function __construct()
    {
    }
20

21
    public const postConnect = 'postConnect';
22

23 24 25 26 27 28 29 30 31 32
    public const onSchemaCreateTable            = 'onSchemaCreateTable';
    public const onSchemaCreateTableColumn      = 'onSchemaCreateTableColumn';
    public const onSchemaDropTable              = 'onSchemaDropTable';
    public const onSchemaAlterTable             = 'onSchemaAlterTable';
    public const onSchemaAlterTableAddColumn    = 'onSchemaAlterTableAddColumn';
    public const onSchemaAlterTableRemoveColumn = 'onSchemaAlterTableRemoveColumn';
    public const onSchemaAlterTableChangeColumn = 'onSchemaAlterTableChangeColumn';
    public const onSchemaAlterTableRenameColumn = 'onSchemaAlterTableRenameColumn';
    public const onSchemaColumnDefinition       = 'onSchemaColumnDefinition';
    public const onSchemaIndexDefinition        = 'onSchemaIndexDefinition';
33
}