/** * Extends the config with the given config. * * @param Config $config Config to read from. * @return bool */ public function extend(Config $config) { $this->config = ArrayUtils::merge($this->config, $config->getNamespace()); $this->loadedFiles = array_merge($this->loadedFiles, $config->getLoadedFiles()); return true; }