public function toArray()
    {
        $ini = [];

        foreach ($this->sections as $sectionName => $section) {
            $ini[$sectionName] = $section->getProperties();
        }

        return $ini;
    }
public function toArray()
    {
        $ini = [];

        foreach ($this->sections as $sectionName => $section) {
            $ini[$sectionName] = $section->getProperties();
        }

        return $ini;
    }
public function toArray ( ) { $ ini = [ ] ; foreach ( $ this -> sections as $ sectionName => $ section ) { $ ini [ $ sectionName ] = $ section -> getProperties ( ) ; } return $ ini ; }
Converts the configuration to array.

@return array
Converts the configuration to array .