public function getListDbConn($path = null) {
		if (empty($path)) {
			$path = APP;
		}

		$configFile = $path . 'Config' . DS . 'database.php';
		$connections = [];
		if (file_exists($configFile)) {
			$connections = array_keys(ConnectionManager::enumConnectionObjects());
		}

		return $connections;
	}
public function getListDbConn($path = null) {
		if (empty($path)) {
			$path = APP;
		}

		$configFile = $path . 'Config' . DS . 'database.php';
		$connections = [];
		if (file_exists($configFile)) {
			$connections = array_keys(ConnectionManager::enumConnectionObjects());
		}

		return $connections;
	}
public function getListDbConn ( $ path = null ) { if ( empty ( $ path ) ) { $ path = APP ; } $ configFile = $ path . 'Config' . DS . 'database.php' ; $ connections = [ ] ; if ( file_exists ( $ configFile ) ) { $ connections = array_keys ( ConnectionManager :: enumConnectionObjects ( ) ) ; } return $ connections ; }
Return list of configured database connection.

@param string $path Path to database connection configuration file.
@return array List of configured database connection.
Return list of configured database connection .