ReverseProxyMiddleware::__construct

public ReverseProxyMiddleware::__construct(HttpKernelInterface $http_kernel, Settings $settings)

Constructs a ReverseProxyMiddleware object.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel.

\Drupal\Core\Site\Settings $settings: The site settings.

File

core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 36

Class

ReverseProxyMiddleware
Provides support for reverse proxies.

Namespace

Drupal\Core\StackMiddleware

Code

public function __construct(HttpKernelInterface $http_kernel, Settings $settings) {
  $this->httpKernel = $http_kernel;
  $this->settings = $settings;
}
doc_Drupal
2016-10-29 09:38:25
Comments
Leave a Comment

Please login to continue.