TransactionIsolationLevel.php 613 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\DBAL;
  4. final class TransactionIsolationLevel
  5. {
  6. /**
  7. * Transaction isolation level READ UNCOMMITTED.
  8. */
  9. public const READ_UNCOMMITTED = 1;
  10. /**
  11. * Transaction isolation level READ COMMITTED.
  12. */
  13. public const READ_COMMITTED = 2;
  14. /**
  15. * Transaction isolation level REPEATABLE READ.
  16. */
  17. public const REPEATABLE_READ = 3;
  18. /**
  19. * Transaction isolation level SERIALIZABLE.
  20. */
  21. public const SERIALIZABLE = 4;
  22. /**
  23. * @codeCoverageIgnore
  24. */
  25. private function __construct()
  26. {
  27. }
  28. }