interface FragmentRendererInterface
Interface implemented by all rendering strategies.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface
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 - FragmentRendererPass.php in vendor/
symfony/ http-kernel/ DependencyInjection/ FragmentRendererPass.php
File
-
vendor/
symfony/ http-kernel/ Fragment/ FragmentRendererInterface.php, line 23
Namespace
Symfony\Component\HttpKernel\FragmentView source
interface FragmentRendererInterface {
/**
* Renders a URI and returns the Response content.
*/
public function render(string|ControllerReference $uri, Request $request, array $options = []) : Response;
/**
* Gets the name of the strategy.
*/
public function getName() : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
FragmentRendererInterface::getName | public | function | Gets the name of the strategy. | 4 |
FragmentRendererInterface::render | public | function | Renders a URI and returns the Response content. | 3 |