MessageInterface
extends
MessageInterface
in
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
stringwithContentType()
Return an instance with the provided value replacing the specified header content type.
public
withContentType(string $Value) : static
Parameters
- $Value : string
-
The content type.