Events.php 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace Doctrine\DBAL;
  3. /**
  4. * Container for all DBAL events.
  5. *
  6. * This class cannot be instantiated.
  7. */
  8. final class Events
  9. {
  10. /**
  11. * Private constructor. This class cannot be instantiated.
  12. *
  13. * @codeCoverageIgnore
  14. */
  15. private function __construct()
  16. {
  17. }
  18. public const postConnect = 'postConnect';
  19. public const onSchemaCreateTable = 'onSchemaCreateTable';
  20. public const onSchemaCreateTableColumn = 'onSchemaCreateTableColumn';
  21. public const onSchemaDropTable = 'onSchemaDropTable';
  22. public const onSchemaAlterTable = 'onSchemaAlterTable';
  23. public const onSchemaAlterTableAddColumn = 'onSchemaAlterTableAddColumn';
  24. public const onSchemaAlterTableRemoveColumn = 'onSchemaAlterTableRemoveColumn';
  25. public const onSchemaAlterTableChangeColumn = 'onSchemaAlterTableChangeColumn';
  26. public const onSchemaAlterTableRenameColumn = 'onSchemaAlterTableRenameColumn';
  27. public const onSchemaColumnDefinition = 'onSchemaColumnDefinition';
  28. public const onSchemaIndexDefinition = 'onSchemaIndexDefinition';
  29. }