You are here

interface FragmentRendererInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Fragment/FragmentRendererInterface.php \Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface

Interface implemented by all rendering strategies.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of FragmentRendererInterface

All classes that implement FragmentRendererInterface

2 files declare their use of FragmentRendererInterface
ControllerReference.php in vendor/symfony/http-kernel/Controller/ControllerReference.php
FragmentRendererPassTest.php in vendor/symfony/http-kernel/Tests/DependencyInjection/FragmentRendererPassTest.php

File

vendor/symfony/http-kernel/Fragment/FragmentRendererInterface.php, line 23

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. 5
FragmentRendererInterface::render public function Renders a URI and returns the Response content. 4