public function parseArray(array $ini)
    {
        $sections = [];

        foreach ($ini as $name => $section) {
            $section = $this->parseSection($name, $section);
            $sections[] = $section;
        }

        return $sections;
    }
public function parseArray(array $ini)
    {
        $sections = [];

        foreach ($ini as $name => $section) {
            $section = $this->parseSection($name, $section);
            $sections[] = $section;
        }

        return $sections;
    }
public function parseArray ( array $ ini ) { $ sections = [ ] ; foreach ( $ ini as $ name => $ section ) { $ section = $ this -> parseSection ( $ name , $ section ) ; $ sections [ ] = $ section ; } return $ sections ; }
Parses an INI array

Sections must be included

@param array $ini

@return Section[]
Parses an INI array