File/src/IniFile.php
protected function decode($var)
    {
        $decoded = file_exists($this->filename) ? @parse_ini_file($this->filename) : [];

        if ($decoded === false) {
            throw new \RuntimeException("Decoding file '{$this->filename}' failed'");
        }

        return $decoded;
    }
protected function decode($var)
    {
        $decoded = file_exists($this->filename) ? @parse_ini_file($this->filename) : [];

        if ($decoded === false) {
            throw new \RuntimeException("Decoding file '{$this->filename}' failed'");
        }

        return $decoded;
    }
protected function decode ( $ var ) { $ decoded = file_exists ( $ this -> filename ) ? @ parse_ini_file ( $ this -> filename ) : [ ] ; if ( $ decoded === false ) { throw new \ RuntimeException ( "Decoding file '{$this->filename}' failed'" ) ; } return $ decoded ; }
Decode INI file into contents.

@param string $var
@return array
@throws \RuntimeException
Decode INI file into contents .