public function set($key, $value)
    {
        if (!is_array($value)) {
            $value = [$value];
        }
        parent::set($this->normalizeKey($key), [
            'value' => $value,
            'originalKey' => $key
        ]);
    }
public function set($key, $value)
    {
        if (!is_array($value)) {
            $value = [$value];
        }
        parent::set($this->normalizeKey($key), [
            'value' => $value,
            'originalKey' => $key
        ]);
    }
public function set ( $ key , $ value ) { if ( ! is_array ( $ value ) ) { $ value = [ $ value ] ; } parent :: set ( $ this -> normalizeKey ( $ key ) , [ 'value' => $ value , 'originalKey' => $ key ] ) ; }
Set HTTP header value

This method sets a header value. It replaces
any values that may already exist for the header name.

@param string       $key   The case-insensitive header name
@param array|string $value The header value
Set HTTP header value