ContainerAwareHIncludeFragmentRenderer deprecated
class ContainerAwareHIncludeFragmentRenderer extends HIncludeFragmentRenderer
deprecated
Implements the Hinclude rendering strategy.
Methods
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.
render(string|ControllerReference $uri, Request $request, array $options = array())
Renders a URI and returns the Response content.
Details
in RoutableFragmentRenderer at line line 34
setFragmentPath(string $path)
Sets the fragment path that triggers the fragment listener.
at line line 35
__construct(ContainerInterface $container, UriSigner $signer = null, string $globalDefaultTemplate = null)
Constructor.
in HIncludeFragmentRenderer at line line 55
setTemplating(EngineInterface|Twig_Environment|null $templating)
Sets the templating engine to use to render the default content.
in HIncludeFragmentRenderer at line line 69
bool
hasTemplating()
Checks if a templating engine has been set.
at line line 45
Response
render(string|ControllerReference $uri, Request $request, array $options = array())
Renders a URI and returns the Response content.
in HIncludeFragmentRenderer at line line 160
string
getName()
Gets the name of the strategy.