Domain/BaseDomain.php
protected function beginTransaction($autoCommit = false): void
    {
        if (!$autoCommit && null !== $this->connection) {
            $this->connection->beginTransaction();
        }
    }
protected function beginTransaction($autoCommit = false): void
    {
        if (!$autoCommit && null !== $this->connection) {
            $this->connection->beginTransaction();
        }
    }
protected function beginTransaction ( $ autoCommit = false ) : void { if ( ! $ autoCommit && null !== $ this -> connection ) { $ this -> connection -> beginTransaction ( ) ; } }
Begin automatically the database transaction.

@param bool $autoCommit Check if each resource must be flushed immediately or in the end
Begin automatically the database transaction .