/** * Get context definition for external storage layers * * @return array */ public function getContext() { try { return $this->innerGateway->getContext(); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }