public function rollback()
    {
        for ($i = count($this->completedOperations) - 1; $i >= 0; --$i) {
            $this->completedOperations[$i]->rollback();
        }

        $this->completedOperations = array();
    }