| [ Index ] | PHP Cross Reference of phpBB-3.2.11-deutsch | 
[Source view] [Print] [Project Stats]
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 | 
| __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: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |