Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FragmentHandler.php

function FragmentHandler::__construct

Parameters

FragmentRendererInterface[] $renderers An array of FragmentRendererInterface instances:

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

2 calls to FragmentHandler::__construct()
LazyLoadingFragmentHandler::__construct in vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php
LazyLoadingFragmentHandler::__construct in vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php
1 method overrides FragmentHandler::__construct()
LazyLoadingFragmentHandler::__construct in vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php

File

vendor/symfony/http-kernel/Fragment/FragmentHandler.php, line 39

Class

FragmentHandler
Renders a URI that represents a resource fragment.

Namespace

Symfony\Component\HttpKernel\Fragment

Code

public function __construct(RequestStack $requestStack, array $renderers = [], bool $debug = false) {
    foreach ($renderers as $renderer) {
        $this->addRenderer($renderer);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal