InlineFragmentRenderer
class InlineFragmentRenderer extends RoutableFragmentRenderer
Implements the inline rendering strategy where the Request is rendered by the current HTTP kernel.
Methods
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.
__construct(HttpKernelInterface $kernel, EventDispatcherInterface $dispatcher = null)
No description
render(string|ControllerReference $uri, Request $request, array $options = array())
Renders a URI and returns the Response content.
string
getName()
Gets the name of the strategy.
Details
protected string
generateFragmentUri(ControllerReference $reference, Request $request, bool $absolute = false, bool $strict = true)
Generates a fragment URI for a given controller.
Response
render(string|ControllerReference $uri, Request $request, array $options = array())
Renders a URI and returns the Response content.