/** * Get base config (without project files) * * @return Config */ public function getConfigBase() { static $config; if (null === $config) { //TODO Make single load $config = Config::initInstance(['file' => $this->commithookDir . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'root.xml']); if (!Config::loadCache()) { Config::mergeExtraConfig(); } $config = Config::getInstance(); } return $config; }