abstract class AbstractSurrogateFragmentRenderer extends RoutableFragmentRenderer
Implements Surrogate rendering strategy.
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. |
Sets the fragment path that triggers the fragment listener.
Constructor.
The "fallback" strategy when surrogate is not available should always be an instance of InlineFragmentRenderer.
Renders a URI and returns the Response content.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/HttpKernel/Fragment/AbstractSurrogateFragmentRenderer.html