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\FragmentCode
public function __construct(?SurrogateInterface $surrogate, FragmentRendererInterface $inlineStrategy, ?UriSigner $signer = null) {
}