public function Response::setCharset in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::setCharset()
Sets the response charset.
Parameters
string $charset Character set:
Return value
1 call to Response::setCharset()
- SecuredRedirectResponse::fromResponse in core/
lib/ Drupal/ Component/ HttpFoundation/ SecuredRedirectResponse.php - Copies over the values from the given response.
File
- vendor/
symfony/ http-foundation/ Response.php, line 491
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function setCharset($charset) {
$this->charset = $charset;
return $this;
}