public function getParams()
{
return $this->_params;
}
/** * @throws \RuntimeException * @return string */ public function getQuery() { $config = $this->connection->getParams(); $driver = $config['driver']; if (!isset($this->configClasses[$driver])) { throw new \RuntimeException('Driver "%s" not found'); } /** @var PdoMysql $className */ $className = $this->configClasses[$driver]; return $className::getPlainSql(); }