original_string: public function set(string $name, string $value): void
      {
          $key = strtolower($name);
          $this->headers[$key] = [$name, $value];
      }
code: public function set(string $name, string $value): void
      {
          $key = strtolower($name);
          $this->headers[$key] = [$name, $value];
      }
code_tokens: public function set ( string $ name , string $ value ) : void { $ key = strtolower ( $ name ) ; $ this -> headers [ $ key ] = [ $ name , $ value ] ; }
docstring: Sets a header value by header name.
  
  @since 1.0.0
  
  @param string $name  The header name.
  @param string $value The header value.
docstring_tokens: Sets a header value by header name .