public function setConfigForFilename(string $filename, array $config): self
    {
        if (!isset($this->configFiles[$filename])) {
            $this->configFiles[$filename] = $filename;
        }
        
        $this->config[$filename] = $config;
        
        return $this;
    }
public function setConfigForFilename(string $filename, array $config): self
    {
        if (!isset($this->configFiles[$filename])) {
            $this->configFiles[$filename] = $filename;
        }
        
        $this->config[$filename] = $config;
        
        return $this;
    }
public function setConfigForFilename ( string $ filename , array $ config ) : self { if ( ! isset ( $ this -> configFiles [ $ filename ] ) ) { $ this -> configFiles [ $ filename ] = $ filename ; } $ this -> config [ $ filename ] = $ config ; return $ this ; }
Setter to modify the all config value for a specific filename.

@param string $filename The filename config to modify
@param array $config The new config value

@return $this

@throws \Exception If the new value if not an array or an object.
Setter to modify the all config value for a specific filename .