private function assertNotClosed() { if (false !== $this->closed) { throw new \RuntimeException('This Transaction is closed'); } }