class AbstractSurrogateFragmentRenderer extends RoutableFragmentRenderer
Implements Surrogate rendering strategy.
Methods
setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. | from RoutableFragmentRenderer | |
__construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null) Constructor. | ||
Response | render(string|ControllerReference $uri, Request $request, array $options = array()) Renders a URI and returns the Response content. |
Details
setFragmentPath(string $path)
Sets the fragment path that triggers the fragment listener.
__construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null)
Constructor.
The "fallback" strategy when surrogate is not available should always be an instance of InlineFragmentRenderer.
Response render(string|ControllerReference $uri, Request $request, array $options = array())
Renders a URI and returns the Response content.
Please login to continue.