public function saveConfig() { if ($this->getConfig()->save() === false) { $this->getLogger()->critical("Could not save config to " . $this->configFile); } }