Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FragmentRendererInterface.php

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\Fragment
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal