lib/Doctrine/DBAL/Connection.php
public function setTransactionIsolation($level)
    {
        $this->transactionIsolationLevel = $level;

        return $this->executeUpdate($this->getDatabasePlatform()->getSetTransactionIsolationSQL($level));
    }
public function setTransactionIsolation($level)
    {
        $this->transactionIsolationLevel = $level;

        return $this->executeUpdate($this->getDatabasePlatform()->getSetTransactionIsolationSQL($level));
    }
public function setTransactionIsolation ( $ level ) { $ this -> transactionIsolationLevel = $ level ; return $ this -> executeUpdate ( $ this -> getDatabasePlatform ( ) -> getSetTransactionIsolationSQL ( $ level ) ) ; }
Sets the transaction isolation level.

@param int $level The level to set.

@return int
Sets the transaction isolation level .