class InlineFragmentRenderer extends RoutableFragmentRenderer
Implements the inline rendering strategy where the Request is rendered by the current HTTP kernel.
setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. | from RoutableFragmentRenderer | |
__construct(HttpKernelInterface $kernel, EventDispatcherInterface $dispatcher = null) | ||
Response | 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. |
Sets the fragment path that triggers the fragment listener.
string | $path | The path |
FragmentListener |
HttpKernelInterface | $kernel | |
EventDispatcherInterface | $dispatcher |
Renders a URI and returns the Response content.
string|ControllerReference | $uri | A URI as a string or a ControllerReference instance |
Request | $request | A Request instance |
array | $options | An array of options |
Response | A Response instance |
Gets the name of the strategy.
string | The strategy name |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.html