Pimcore\ExtensionManager::getConfig PHP Метод

getConfig() публичный статический Метод

public static getConfig ( ) : Zend_Config
Результат Zend_Config
    public static function getConfig()
    {
        if (!self::$config) {
            try {
                $file = \Pimcore\Config::locateConfigFile("extensions.php");
                if (file_exists($file)) {
                    self::$config = new \Zend_Config(include $file, true);
                } else {
                    throw new \Exception($file . " doesn't exist");
                }
            } catch (\Exception $e) {
                self::$config = new \Zend_Config([], true);
            }
        }
        return self::$config;
    }