PHP PSR

MessageInterface extends MessageInterface

Describes Message interface.

Table of Contents

Methods

getContentType()  : string
Retrieve content type.
withContentType()  : static
Return an instance with the provided value replacing the specified header content type.

Methods

getContentType()

Retrieve content type.

public getContentType() : string
Return values
string

withContentType()

Return an instance with the provided value replacing the specified header content type.

public withContentType(string $Value) : static
Parameters
$Value : string

The content type.

Return values
static

        
On this page

Search results