public function getConnectionString($name) { $config = $this->config->getAnydatasetconfig("connections.{$name}"); if (empty($config) || !isset($config['url'])) { throw new DatasetException("Invalid configurarion 'connections.{$name}'"); } return $config; }
public function getPoolBuffer($key = 'default') { $bufferSize = $this->config->getCacheconfig("{$key}.poolbuffer"); if ($bufferSize === null) { return 10; } return (int) $bufferSize; }