class SsiFragmentRenderer extends AbstractSurrogateFragmentRenderer
Implements the SSI rendering strategy.
setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. | from RoutableFragmentRenderer | |
string | generateFragmentUri(ControllerReference $reference, Request $request, bool $absolute = false, bool $strict = true) Generates a fragment URI for a given controller. | from RoutableFragmentRenderer |
__construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null) The "fallback" strategy when surrogate is not available should always be an instance of InlineFragmentRenderer. | from AbstractSurrogateFragmentRenderer | |
Response | render(string|ControllerReference $uri, Request $request, array $options = array()) Renders a URI and returns the Response content. | from AbstractSurrogateFragmentRenderer |
string | getName() Gets the name of the strategy. |
Sets the fragment path that triggers the fragment listener.
string | $path | The path |
FragmentListener |
Generates a fragment URI for a given controller.
ControllerReference | $reference | A ControllerReference instance |
Request | $request | A Request instance |
bool | $absolute | Whether to generate an absolute URL or not |
bool | $strict | Whether to allow non-scalar attributes or not |
string | A fragment URI |
The "fallback" strategy when surrogate is not available should always be an instance of InlineFragmentRenderer.
SurrogateInterface | $surrogate | An Surrogate instance |
FragmentRendererInterface | $inlineStrategy | The inline strategy to use when the surrogate is not supported |
UriSigner | $signer |
Renders a URI and returns the Response content.
string|ControllerReference | $uri | A URI as a string or a ControllerReference instance |
Request | $request | A Request instance |
array | $options | An array of options |
Response | A Response instance |
SurrogateInterface |
Gets the name of the strategy.
string | The strategy name |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/Fragment/SsiFragmentRenderer.html