public beginTransaction ( ) |
public function beginTransaction()
{
$this->notifyItems('beginTransaction');
$this->transport->beginTransaction();
}
/** * {@inheritDoc} * * @api */ public function begin() { if ($this->inTransaction) { throw new UnsupportedRepositoryOperationException("Nested transactions are not supported."); } $this->objectManager->beginTransaction(); $this->inTransaction = true; }