AbstractSurrogateFragmentRenderer.php
1 year ago
EsiFragmentRenderer.php
2 years ago
FragmentHandler.php
1 year ago
FragmentRendererInterface.php
2 years ago
FragmentUriGenerator.php
1 year ago
FragmentUriGeneratorInterface.php
1 year ago
HIncludeFragmentRenderer.php
1 year ago
InlineFragmentRenderer.php
1 year ago
RoutableFragmentRenderer.php
1 year ago
SsiFragmentRenderer.php
2 years ago
FragmentRendererInterface.php
38 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\HttpKernel\Fragment; |
| 12 | |
| 13 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Request; |
| 14 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Response; |
| 15 | use Matomo\Dependencies\Symfony\Component\HttpKernel\Controller\ControllerReference; |
| 16 | /** |
| 17 | * Interface implemented by all rendering strategies. |
| 18 | * |
| 19 | * @author Fabien Potencier <fabien@symfony.com> |
| 20 | */ |
| 21 | interface FragmentRendererInterface |
| 22 | { |
| 23 | /** |
| 24 | * Renders a URI and returns the Response content. |
| 25 | * |
| 26 | * @param string|ControllerReference $uri A URI as a string or a ControllerReference instance |
| 27 | * |
| 28 | * @return Response |
| 29 | */ |
| 30 | public function render($uri, Request $request, array $options = []); |
| 31 | /** |
| 32 | * Gets the name of the strategy. |
| 33 | * |
| 34 | * @return string |
| 35 | */ |
| 36 | public function getName(); |
| 37 | } |
| 38 |