LockMode.php 419 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Doctrine\DBAL;
  3. /**
  4. * Contains all DBAL LockModes.
  5. */
  6. class LockMode
  7. {
  8. public const NONE = 0;
  9. public const OPTIMISTIC = 1;
  10. public const PESSIMISTIC_READ = 2;
  11. public const PESSIMISTIC_WRITE = 4;
  12. /**
  13. * Private constructor. This class cannot be instantiated.
  14. *
  15. * @codeCoverageIgnore
  16. */
  17. final private function __construct()
  18. {
  19. }
  20. }