public function getConfigByFilename(string $filename)
    {
        if (!isset($this->config[$filename])) {
            throw new Exception(
                'The file '.$filename.' has not been found',
                $this::ERR_FILE_NOT_FOUND
            );
        }
        
        return $this->config[$filename];
    }
public function getConfigByFilename(string $filename)
    {
        if (!isset($this->config[$filename])) {
            throw new Exception(
                'The file '.$filename.' has not been found',
                $this::ERR_FILE_NOT_FOUND
            );
        }
        
        return $this->config[$filename];
    }
public function getConfigByFilename ( string $ filename ) { if ( ! isset ( $ this -> config [ $ filename ] ) ) { throw new Exception ( 'The file ' . $ filename . ' has not been found' , $ this :: ERR_FILE_NOT_FOUND ) ; } return $ this -> config [ $ filename ] ; }
Getter accessor to have all values contain into a config file

@param string $filename The filename config to read

@return mixed
Getter accessor to have all values contain into a config file