[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/Fragment/ -> AbstractSurrogateFragmentRenderer.php (summary)

Implements Surrogate rendering strategy.

Author: Fabien Potencier <fabien@symfony.com>
File Size: 93 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  __construct()
  render()
  generateSignedFragmentUri()

Functions
Functions that are not part of a class:

__construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null)   X-Ref
The "fallback" strategy when surrogate is not available should always be an
instance of InlineFragmentRenderer.

param: SurrogateInterface        $surrogate      An Surrogate instance
param: FragmentRendererInterface $inlineStrategy The inline strategy to use when the surrogate is not supported
param: UriSigner                 $signer

render($uri, Request $request, array $options = array()   X-Ref
{@inheritdoc}

Note that if the current Request has no surrogate capability, this method
falls back to use the inline rendering strategy.

Additional available options:

* alt: an alternative URI to render in case of an error
* comment: a comment to add when returning the surrogate tag

Note, that not all surrogate strategies support all options. For now
'alt' and 'comment' are only supported by ESI.


generateSignedFragmentUri($uri, Request $request)   X-Ref
No description



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1