You are here

public function FragmentRendererPass::__construct in Zircon Profile 8

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

Parameters

string $handlerService Service name of the fragment handler in the container:

string $rendererTag Tag name used for fragments:

File

vendor/symfony/http-kernel/DependencyInjection/FragmentRendererPass.php, line 32

Class

FragmentRendererPass
Adds services tagged kernel.fragment_renderer as HTTP content rendering strategies.

Namespace

Symfony\Component\HttpKernel\DependencyInjection

Code

public function __construct($handlerService = 'fragment.handler', $rendererTag = 'kernel.fragment_renderer') {
  $this->handlerService = $handlerService;
  $this->rendererTag = $rendererTag;
}