Exemplo n.º 1
0
 /**
  * Acquire a lock on the given document.
  *
  * @param object $document
  * @param int $lockMode
  * @param int $lockVersion
  * @throws LockException
  * @throws LockException
  */
 public function lock($document, $lockMode, $lockVersion = null)
 {
     $this->unitOfWork->lock($document, $lockMode, $lockVersion);
 }