protected function renderKeyValuePair($key, $value)
    {
        $output = [];
        $value = $this->normalizeValue($value);

        if (is_array($value)) {
            foreach ($value as $v) {
                $output[] = sprintf('%s[] = %s', $key, $v);
            }
        } else {
            $output[] = sprintf('%s = %s', $key, $value);
        }

        return $output;
    }
protected function renderKeyValuePair($key, $value)
    {
        $output = [];
        $value = $this->normalizeValue($value);

        if (is_array($value)) {
            foreach ($value as $v) {
                $output[] = sprintf('%s[] = %s', $key, $v);
            }
        } else {
            $output[] = sprintf('%s = %s', $key, $value);
        }

        return $output;
    }
protected function renderKeyValuePair ( $ key , $ value ) { $ output = [ ] ; $ value = $ this -> normalizeValue ( $ value ) ; if ( is_array ( $ value ) ) { foreach ( $ value as $ v ) { $ output [ ] = sprintf ( '%s[] = %s' , $ key , $ v ) ; } } else { $ output [ ] = sprintf ( '%s = %s' , $ key , $ value ) ; } return $ output ; }
Renders a key-value pair.

@param string $key
@param mixed  $value

@return array
Renders a key - value pair .