src/AbstractEntityService.php
public function rollbackTransaction()
    {
        if ($this->isTransactionEnabled() === false) {
            throw new ServiceException(sprintf(
                'The repository for %s doesn\'t support Transactions',
                $this->getEntityServiceName()
            ));
        }

        $this->getRepository()->rollbackTransaction();
    }
public function rollbackTransaction()
    {
        if ($this->isTransactionEnabled() === false) {
            throw new ServiceException(sprintf(
                'The repository for %s doesn\'t support Transactions',
                $this->getEntityServiceName()
            ));
        }

        $this->getRepository()->rollbackTransaction();
    }
public function rollbackTransaction ( ) { if ( $ this -> isTransactionEnabled ( ) === false ) { throw new ServiceException ( sprintf ( 'The repository for %s doesn\'t support Transactions' , $ this -> getEntityServiceName ( ) ) ) ; } $ this -> getRepository ( ) -> rollbackTransaction ( ) ; }
Rolls back a started transaction.

@throws ServiceException
Rolls back a started transaction .