for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Driver\OCI8;
/**
* Encapsulates the execution mode that is shared between the connection and its statements.
*/
final class ExecutionMode
{
/** @var bool */
private $isAutoCommitEnabled = true;
public function enableAutoCommit() : void
$this->isAutoCommitEnabled = true;
}
public function disableAutoCommit() : void
$this->isAutoCommitEnabled = false;
public function isAutoCommitEnabled() : bool
return $this->isAutoCommitEnabled;