Documentation

HeaderFactoryInterface

Interface for creating headers

Table of Contents

Methods

createHeader()  : HeaderInterface
Create a header from a header name and a single value

Methods

createHeader()

Create a header from a header name and a single value

public createHeader(string $header[, string $value = null ]) : HeaderInterface
Parameters
$header : string

Name of the header to create

$value : string = null

Value to set on the header

Return values
HeaderInterface

        
On this page

Search results