DumpExtension::getFunctions()

getFunctions()

DumpExtension::dump()

dump(Twig_Environment $env, $context) Parameters Twig_Environment $env $context

DumpExtension

class DumpExtension extends Twig_Extension Provides integration of the dump() function with Twig. Methods __construct(ClonerInterface $cloner) getFunctions() getTokenParsers() getName() dump(Twig_Environment $env, $context) Details __construct(ClonerInterface $cloner) Parameters ClonerInterface $cloner getFunctions() getTokenParsers()

DumpException

class DumpException extends RuntimeException Exception class thrown when an error occurs during dumping.

DumperRoute::getRoute()

Route getRoute() Returns the route. Return Value Route The route

DumperRoute::getName()

string getName() Returns the route name. Return Value string The route name

DumperRoute

class DumperRoute Container for a Route. Methods __construct(string $name, Route $route) Constructor. string getName() Returns the route name. Route getRoute() Returns the route. Details __construct(string $name, Route $route) Constructor. Parameters string $name The route name Route $route The route string getName() Returns the route name. Return Value string The route name

DumperPrefixCollection::setPrefix()

setPrefix(string $prefix) Sets the prefix. Parameters string $prefix The prefix

DumperPrefixCollection::mergeSlashNodes()

mergeSlashNodes() Merges nodes whose prefix ends with a slash. Children of a node whose prefix ends with a slash are moved to the parent node

DumperPrefixCollection::getPrefix()

string getPrefix() Returns the prefix. Return Value string The prefix