public setContentType (mixed $contentType, [mixed $charset])
Sets the response content-type mime, optionally the charset
$response->setContentType('application/pdf'); $response->setContentType('text/plain', 'UTF-8');
public setContentType (mixed $contentType, [mixed $charset])
Sets the response content-type mime, optionally the charset
$response->setContentType('application/pdf'); $response->setContentType('text/plain', 'UTF-8');
Please login to continue.