ManaPHP\Http\ResponseInterface::setContentType PHP Method

setContentType() public method

Sets the response content-type mime, optionally the charset
public setContentType ( string $contentType, string $charset = null ) : static
$contentType string
$charset string
return static
    public function setContentType($contentType, $charset = null);