State.php 553 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Version;
  4. /**
  5. * The State class contains constants for the different states a migration can be in during execution.
  6. *
  7. * @internal
  8. */
  9. final class State
  10. {
  11. public const NONE = 0;
  12. public const PRE = 1;
  13. public const EXEC = 2;
  14. public const POST = 3;
  15. public const STATES = [
  16. self::NONE,
  17. self::PRE,
  18. self::EXEC,
  19. self::POST,
  20. ];
  21. /**
  22. * This class cannot be instantiated.
  23. */
  24. private function __construct()
  25. {
  26. }
  27. }