History::current()

Request current() Returns the current element in the history. Return Value Request A Request instance Exceptions LogicException if the stack is empty

History::forward()

Request forward() Goes forward in the history. Return Value Request A Request instance Exceptions LogicException if the stack is already on the last page

History::clear()

clear() Clears the history.

History::isEmpty()

bool isEmpty() Returns true if the history is empty. Return Value bool true if the history is empty, false otherwise

History

class History History. Methods clear() Clears the history. add(Request $request) Adds a Request to the history. bool isEmpty() Returns true if the history is empty. Request back() Goes back in the history. Request forward() Goes forward in the history. Request current() Returns the current element in the history. Details clear() Clears the history. add(Request $request) Adds

History::add()

add(Request $request) Adds a Request to the history. Parameters Request $request A Request instance

History::back()

Request back() Goes back in the history. Return Value Request A Request instance Exceptions LogicException if the stack is already on the first page

HIncludeFragmentRenderer::setTemplating()

setTemplating(EngineInterface|Twig_Environment|null $templating) Sets the templating engine to use to render the default content. Parameters EngineInterface|Twig_Environment|null $templating An EngineInterface or a \Twig_Environment instance Exceptions InvalidArgumentException

HIncludeFragmentRenderer::render()

Response render(string|ControllerReference $uri, Request $request, array $options = array()) Renders a URI and returns the Response content. Parameters string|ControllerReference $uri A URI as a string or a ControllerReference instance Request $request A Request instance array $options An array of options Return Value Response A Response instance

HIncludeFragmentRenderer

class HIncludeFragmentRenderer extends RoutableFragmentRenderer Implements the Hinclude rendering strategy. Methods setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. from RoutableFragmentRenderer __construct(EngineInterface|Twig_Environment $templating = null, UriSigner $signer = null, string $globalDefaultTemplate = null, string $charset = 'utf-8') Constructor. setTemplating(EngineInterface|Twig_Environment|null $templating) Sets the temp