public function FragmentRendererInterface::render

Renders a URI and returns the Response content.

Parameters

string|ControllerReference $uri A URI as a string or a ControllerReference instance:

Request $request A Request instance:

array $options An array of options:

Return value

Response A Response instance

4 methods override FragmentRendererInterface::render()
EsiFragmentRenderer::render in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Fragment/EsiFragmentRenderer.php
Note that if the current Request has no ESI capability, this method falls back to use the inline rendering strategy.
HIncludeFragmentRenderer::render in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Fragment/HIncludeFragmentRenderer.php
Additional available options:
InlineFragmentRenderer::render in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php
Additional available options:
Renderer::render in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fragment/RoutableFragmentRendererTest.php
Renders a URI and returns the Response content.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Fragment/FragmentRendererInterface.php, line 35

Class

FragmentRendererInterface
Interface implemented by all rendering strategies.

Namespace

Symfony\Component\HttpKernel\Fragment

Code

public function render($uri, Request $request, array $options = array());