22 lines
385 B
PHP
22 lines
385 B
PHP
|
<?php
|
||
|
|
||
|
namespace Doctrine\DBAL;
|
||
|
|
||
|
/**
|
||
|
* Contains all DBAL LockModes.
|
||
|
*/
|
||
|
class LockMode
|
||
|
{
|
||
|
public const NONE = 0;
|
||
|
public const OPTIMISTIC = 1;
|
||
|
public const PESSIMISTIC_READ = 2;
|
||
|
public const PESSIMISTIC_WRITE = 4;
|
||
|
|
||
|
/**
|
||
|
* Private constructor. This class cannot be instantiated.
|
||
|
*/
|
||
|
final private function __construct()
|
||
|
{
|
||
|
}
|
||
|
}
|