for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\ORM;
/**
* Is thrown when a transaction is required for the current operation, but there is none open.
*
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link www.doctrine-project.com
* @since 1.0
* @author Benjamin Eberlei <[email protected]>
* @author Roman Borschel <[email protected]>
*/
class TransactionRequiredException extends ORMException
{
* @return TransactionRequiredException
static public function transactionRequired()
static
return new self('An open transaction is required for this operation.');
}