You are here

public function InlineFragmentRenderer::__construct in Zircon Profile 8.0

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

Constructor.

Parameters

HttpKernelInterface $kernel A HttpKernelInterface instance:

EventDispatcherInterface $dispatcher A EventDispatcherInterface instance:

File

vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php, line 38

Class

InlineFragmentRenderer
Implements the inline rendering strategy where the Request is rendered by the current HTTP kernel.

Namespace

Symfony\Component\HttpKernel\Fragment

Code

public function __construct(HttpKernelInterface $kernel, EventDispatcherInterface $dispatcher = null) {
  $this->kernel = $kernel;
  $this->dispatcher = $dispatcher;
}