abstract class RoutableFragmentRenderer implements FragmentRendererInterface
Adds the possibility to generate a fragment URI for a given Controller.
| setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. | ||
| string | generateFragmentUri(ControllerReference $reference, Request $request, bool $absolute = false, bool $strict = true) Generates a fragment URI for a given controller. |
Sets the fragment path that triggers the fragment listener.
| string | $path | The path |
| FragmentListener |
Generates a fragment URI for a given controller.
| ControllerReference | $reference | A ControllerReference instance |
| Request | $request | A Request instance |
| bool | $absolute | Whether to generate an absolute URL or not |
| bool | $strict | Whether to allow non-scalar attributes or not |
| string | A fragment URI |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/Fragment/RoutableFragmentRenderer.html