HtmlResponseFormatter
in package
implements
ResponseFormatterInterface
Interfaces, Classes and Traits
Table of Contents
- $contentType : string
- The Content-Type that will be sent in the response header.
- format() : mixed
- send() : mixed
Properties
$contentType
The Content-Type that will be sent in the response header.
public
string
$contentType
= 'text/html'
Methods
format()
public
format(Response $response) : mixed
Parameters
- $response : Response
Return values
mixed —send()
public
send() : mixed