beginTransaction() публичный Метод

Begin new transaction associated with current session.
public beginTransaction ( )
Пример #1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function begin()
 {
     if ($this->inTransaction) {
         throw new UnsupportedRepositoryOperationException("Nested transactions are not supported.");
     }
     $this->objectManager->beginTransaction();
     $this->inTransaction = true;
 }