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

Breadcrumb

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

function AbstractSurrogateFragmentRenderer::__construct

The "fallback" strategy when surrogate is not available should always be an instance of InlineFragmentRenderer.

Parameters

FragmentRendererInterface $inlineStrategy The inline strategy to use when the surrogate is not supported:

File

vendor/symfony/http-kernel/Fragment/AbstractSurrogateFragmentRenderer.php, line 33

Class

AbstractSurrogateFragmentRenderer
Implements Surrogate rendering strategy.

Namespace

Symfony\Component\HttpKernel\Fragment

Code

public function __construct(?SurrogateInterface $surrogate, FragmentRendererInterface $inlineStrategy, ?UriSigner $signer = null) {
}

API Navigation

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