class ContainerAwareHIncludeFragmentRenderer extends HIncludeFragmentRenderer
deprecated
since version 2.7, to be removed in 3.0. Use Symfony\Bundle\FrameworkBundle\Fragment\HIncludeFragmentRenderer instead.
Implements the Hinclude rendering strategy.
Methods
setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. | from RoutableFragmentRenderer | |
__construct(ContainerInterface $container, UriSigner $signer = null, string $globalDefaultTemplate = null) Constructor. | ||
setTemplating(EngineInterface|Twig_Environment|null $templating) Sets the templating engine to use to render the default content. | from HIncludeFragmentRenderer | |
bool | hasTemplating() Checks if a templating engine has been set. | from HIncludeFragmentRenderer |
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. | from HIncludeFragmentRenderer |
Details
setFragmentPath(string $path)
Sets the fragment path that triggers the fragment listener.
__construct(ContainerInterface $container, UriSigner $signer = null, string $globalDefaultTemplate = null)
Constructor.
setTemplating(EngineInterface|Twig_Environment|null $templating)
Sets the templating engine to use to render the default content.
bool hasTemplating()
Checks if a templating engine has been set.
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.
Please login to continue.