class Html 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 40
void prepareResponse( Response $response)

Prepare the content of the response before to send it to client

Parameters

Response $response

Return Value

void

at line 50
string|array parseContent( string $content)

Parse an input content

Parameters

string $content

Return Value

string|array

at line 61
string prepareContent( string|array $content)

Prepare a content for output

Parameters

string|array $content

Return Value

string

at line 78
static string getContentType()

Get the "content-Type" header value

Return Value

string