W3cubDocs

/Symfony 4.1

FragmentRendererPass

class FragmentRendererPass implements CompilerPassInterface

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

Methods

__construct(string $handlerService = 'fragment.handler', string $rendererTag = 'kernel.fragment_renderer')
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

__construct(string $handlerService = 'fragment.handler', string $rendererTag = 'kernel.fragment_renderer')

Parameters

string $handlerService
string $rendererTag

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container