private function getConnection() { if ($this->connection === null) { $this->connection = DriverManager::getConnection($this->params, new Configuration()); } return $this->connection; }