original_string: public function set($key, $value)
      {
          if (!is_array($value)) {
              $value = [$value];
          }
          parent::set($this->normalizeKey($key), [
              'value' => $value,
              'originalKey' => $key
          ]);
      }
code: public function set($key, $value)
      {
          if (!is_array($value)) {
              $value = [$value];
          }
          parent::set($this->normalizeKey($key), [
              'value' => $value,
              'originalKey' => $key
          ]);
      }
code_tokens: public function set ( $ key , $ value ) { if ( ! is_array ( $ value ) ) { $ value = [ $ value ] ; } parent :: set ( $ this -> normalizeKey ( $ key ) , [ 'value' => $ value , 'originalKey' => $ key ] ) ; }
docstring: 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
docstring_tokens: Set HTTP header value