private function mergeConfigs($key)
    {
        $mergedConfig = [];
        $userConfig = key($this->configs);
        foreach ($this->configs as $config) {
            $mergedConfig = array_merge(isset($config[$key]) ? $config[$key] : [], $mergedConfig);
        }
        $this->configs[$userConfig][$key] = $mergedConfig;
    }
private function mergeConfigs($key)
    {
        $mergedConfig = [];
        $userConfig = key($this->configs);
        foreach ($this->configs as $config) {
            $mergedConfig = array_merge(isset($config[$key]) ? $config[$key] : [], $mergedConfig);
        }
        $this->configs[$userConfig][$key] = $mergedConfig;
    }
private function mergeConfigs ( $ key ) { $ mergedConfig = [ ] ; $ userConfig = key ( $ this -> configs ) ; foreach ( $ this -> configs as $ config ) { $ mergedConfig = array_merge ( isset ( $ config [ $ key ] ) ? $ config [ $ key ] : [ ] , $ mergedConfig ) ; } $ this -> configs [ $ userConfig ] [ $ key ] = $ mergedConfig ; }
right now it cannot be used for 'report' because it would path would return invalid file
right now it cannot be used for report because it would path would return invalid file