_config = $config; } /** * Returns the set config * * @return array */ public function config(): array { return $this->_config; } /** * Returns the set name */ public function configName(): string { if (empty($this->_config['name'])) { return ''; } return $this->_config['name']; } public function getDriver(string $role = self::ROLE_WRITE): object { throw new RuntimeException('Not implemented'); } public function getLogger(): LoggerInterface { throw new RuntimeException('Not implemented'); } public function setLogger(LoggerInterface $logger): void { } public function setCacher(CacheInterface $cacher): never { throw new RuntimeException('Not implemented'); } public function getCacher(): CacheInterface { throw new RuntimeException('Not implemented'); } public function enableQueryLogging(bool $enable = true) { return $this; } public function disableQueryLogging() { return $this; } public function isQueryLoggingEnabled(): bool { return false; } }