public function LazyLoadingFragmentHandler::addRendererService in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php \Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::addRendererService()
Adds a service as a fragment renderer.
Parameters
string $renderer The render service id:
File
- vendor/
symfony/ http-kernel/ DependencyInjection/ LazyLoadingFragmentHandler.php, line 40
Class
- LazyLoadingFragmentHandler
- Lazily loads fragment renderers from the dependency injection container.
Namespace
Symfony\Component\HttpKernel\DependencyInjectionCode
public function addRendererService($name, $renderer) {
$this->rendererIds[$name] = $renderer;
}