public function beginTransaction() { if (!$this->connection->beginTransaction()) { $this->throwPdoException(); } }