protected function generateIniString($array)
    {
        $iniString = "";

        foreach ($array as $key => $value) {
            if (is_array($value)) {
                $iniString .= "[{$key}]".PHP_EOL;
                $iniString .= $this->generateIniString($value);
            } else {
                $iniString .= "{$key}={$value}".PHP_EOL;
            }
        }

        return $iniString;
    }