interface FragmentRendererInterface

Interface implemented by all rendering strategies.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of FragmentRendererInterface

All classes that implement FragmentRendererInterface

See also

Symfony\Component\HttpKernel\FragmentRenderer

File

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

Namespace

Symfony\Component\HttpKernel\Fragment
View source
interface FragmentRendererInterface {

  /**
   * Renders a URI and returns the Response content.
   *
   * @param string|ControllerReference $uri     A URI as a string or a ControllerReference instance
   * @param Request                    $request A Request instance
   * @param array                      $options An array of options
   *
   * @return Response A Response instance
   */
  public function render($uri, Request $request, array $options = array());

  /**
   * Gets the name of the strategy.
   *
   * @return string The strategy name
   */
  public function getName();

}

Members

Namesort descending Modifiers Type Description Overrides
FragmentRendererInterface::getName public function Gets the name of the strategy. 4
FragmentRendererInterface::render public function Renders a URI and returns the Response content. 4