You are here

public function LazyLoadingFragmentHandler::__construct in Zircon Profile 8.0

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

Constructor.

RequestStack will become required in 3.0.

Parameters

FragmentRendererInterface[] $renderers An array of FragmentRendererInterface instances:

bool $debug Whether the debug mode is enabled or not:

RequestStack|null $requestStack The Request stack that controls the lifecycle of requests:

Overrides FragmentHandler::__construct

File

vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php, line 28

Class

LazyLoadingFragmentHandler
Lazily loads fragment renderers from the dependency injection container.

Namespace

Symfony\Component\HttpKernel\DependencyInjection

Code

public function __construct(ContainerInterface $container, $debug = false, RequestStack $requestStack = null) {
  $this->container = $container;
  parent::__construct(array(), $debug, $requestStack);
}