src/Database.php
public function getConnectionConfig($name = null) {
		if (is_null($name)) {
			$name = $this->defaultConfigName;
		}

		if (isset($this->connectionConfigs[$name])) {
			return $this->connectionConfigs[$name];
		}

		return null;
	}
public function getConnectionConfig($name = null) {
		if (is_null($name)) {
			$name = $this->defaultConfigName;
		}

		if (isset($this->connectionConfigs[$name])) {
			return $this->connectionConfigs[$name];
		}

		return null;
	}
public function getConnectionConfig ( $ name = null ) { if ( is_null ( $ name ) ) { $ name = $ this -> defaultConfigName ; } if ( isset ( $ this -> connectionConfigs [ $ name ] ) ) { return $ this -> connectionConfigs [ $ name ] ; } return null ; }
Get connection config.

@param string $name
@return array|null
Get connection config .