LockMode.php 385 B

123456789101112131415161718192021
  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. final private function __construct()
  16. {
  17. }
  18. }