matomo
/
app
/
vendor
/
prefixed
/
symfony
/
http-kernel
/
Fragment
/
FragmentUriGeneratorInterface.php
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
FragmentUriGeneratorInterface.php
31 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\HttpKernel\Controller\ControllerReference; |
| 15 | /** |
| 16 | * Interface implemented by rendering strategies able to generate an URL for a fragment. |
| 17 | * |
| 18 | * @author Kévin Dunglas <kevin@dunglas.fr> |
| 19 | */ |
| 20 | interface FragmentUriGeneratorInterface |
| 21 | { |
| 22 | /** |
| 23 | * Generates a fragment URI for a given controller. |
| 24 | * |
| 25 | * @param bool $absolute Whether to generate an absolute URL or not |
| 26 | * @param bool $strict Whether to allow non-scalar attributes or not |
| 27 | * @param bool $sign Whether to sign the URL or not |
| 28 | */ |
| 29 | public function generate(ControllerReference $controller, ?Request $request = null, bool $absolute = \false, bool $strict = \true, bool $sign = \true) : string; |
| 30 | } |
| 31 |