public function setConfig($file) { $this->configFile = $file; return $this; }
/** * Load server list file. * @param string $file */ function serverList($file) { $bootstrap = new Bootstrap\BootstrapByConfigFile(); $bootstrap->setConfig($file); $bootstrap->parseConfig(); $bootstrap->initServers(); $bootstrap->initClusters(); }