PlainText
class PlainText implements ContentTypeInterface
Methods
void
prepareResponse(
Response $response)
Prepare the content of the response before to send it to client
string|array
parseContent(
string $content)
Parse an input content
string
prepareContent(
string|array $content)
Prepare a content for output
static
string
getContentType()
Get the "content-Type" header value
Details
at line 41
void
prepareResponse(
Response $response)
Prepare the content of the response before to send it to client
at line 51
string|array
parseContent(
string $content)
Parse an input content
at line 62
string
prepareContent(
string|array $content)
Prepare a content for output
at line 88
static
string
getContentType()
Get the "content-Type" header value