src/Manager.php
private function stringLineMaker($array, $prepend = '')
    {
        $output = '';

        foreach ($array as $key => $value) {
            if (is_array($value)) {
                $value = $this->stringLineMaker($value, $prepend.'    ');

                $output .= "\n{$prepend}    '{$key}' => [{$value}\n{$prepend}    ],";
            } else {
                $value = str_replace('\"', '"', addslashes($value));

                $output .= "\n{$prepend}    '{$key}' => '{$value}',";
            }
        }

        return $output;
    }
private function stringLineMaker($array, $prepend = '')
    {
        $output = '';

        foreach ($array as $key => $value) {
            if (is_array($value)) {
                $value = $this->stringLineMaker($value, $prepend.'    ');

                $output .= "\n{$prepend}    '{$key}' => [{$value}\n{$prepend}    ],";
            } else {
                $value = str_replace('\"', '"', addslashes($value));

                $output .= "\n{$prepend}    '{$key}' => '{$value}',";
            }
        }

        return $output;
    }
private function stringLineMaker ( $ array , $ prepend = '' ) { $ output = '' ; foreach ( $ array as $ key => $ value ) { if ( is_array ( $ value ) ) { $ value = $ this -> stringLineMaker ( $ value , $ prepend . '    ' ) ; $ output .= "\n{$prepend}    '{$key}' => [{$value}\n{$prepend}    ]," ; } else { $ value = str_replace ( '\"' , '"' , addslashes ( $ value ) ) ; $ output .= "\n{$prepend}    '{$key}' => '{$value}'," ; } } return $ output ; }
Write the lines of the inner array of the language file.

@param $array
@return string
Write the lines of the inner array of the language file .