Events.php 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. private function __construct()
  14. {
  15. }
  16. public const postConnect = 'postConnect';
  17. public const onSchemaCreateTable = 'onSchemaCreateTable';
  18. public const onSchemaCreateTableColumn = 'onSchemaCreateTableColumn';
  19. public const onSchemaDropTable = 'onSchemaDropTable';
  20. public const onSchemaAlterTable = 'onSchemaAlterTable';
  21. public const onSchemaAlterTableAddColumn = 'onSchemaAlterTableAddColumn';
  22. public const onSchemaAlterTableRemoveColumn = 'onSchemaAlterTableRemoveColumn';
  23. public const onSchemaAlterTableChangeColumn = 'onSchemaAlterTableChangeColumn';
  24. public const onSchemaAlterTableRenameColumn = 'onSchemaAlterTableRenameColumn';
  25. public const onSchemaColumnDefinition = 'onSchemaColumnDefinition';
  26. public const onSchemaIndexDefinition = 'onSchemaIndexDefinition';
  27. }