Open Journal Systems  3.3.0
Guzzle\Http\Message\Header\HeaderFactoryInterface Interface Reference
Inheritance diagram for Guzzle\Http\Message\Header\HeaderFactoryInterface:
Guzzle\Http\Message\Header\HeaderFactory

Public Member Functions

 createHeader ($header, $value=null)
 

Detailed Description

Interface for creating headers

Definition at line 8 of file HeaderFactoryInterface.php.

Member Function Documentation

◆ createHeader()

Guzzle\Http\Message\Header\HeaderFactoryInterface::createHeader (   $header,
  $value = null 
)

Create a header from a header name and a single value

Parameters
string$headerName of the header to create
string$valueValue to set on the header
Returns
HeaderInterface

Implemented in Guzzle\Http\Message\Header\HeaderFactory.


The documentation for this interface was generated from the following file: