function FragmentUriGeneratorInterface::generate
Generates a fragment URI for a given controller.
Parameters
bool $absolute Whether to generate an absolute URL or not:
bool $strict Whether to allow non-scalar attributes or not:
bool $sign Whether to sign the URL or not:
1 method overrides FragmentUriGeneratorInterface::generate()
- FragmentUriGenerator::generate in vendor/
symfony/ http-kernel/ Fragment/ FragmentUriGenerator.php - Generates a fragment URI for a given controller.
File
-
vendor/
symfony/ http-kernel/ Fragment/ FragmentUriGeneratorInterface.php, line 31
Class
- FragmentUriGeneratorInterface
- Interface implemented by rendering strategies able to generate a URL for a fragment.
Namespace
Symfony\Component\HttpKernel\FragmentCode
public function generate(ControllerReference $controller, ?Request $request = null, bool $absolute = false, bool $strict = true, bool $sign = true) : string;