You are here

public function ResponseListener::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/EventListener/ResponseListener.php \Symfony\Component\HttpKernel\EventListener\ResponseListener::__construct()

File

vendor/symfony/http-kernel/EventListener/ResponseListener.php, line 27

Class

ResponseListener
ResponseListener fixes the Response headers based on the Request.

Namespace

Symfony\Component\HttpKernel\EventListener

Code

public function __construct($charset) {
  $this->charset = $charset;
}