DuplicateKeyException

class DuplicateKeyException extends InvalidConfigurationException This exception is thrown whenever the key of an array is not unique. This can only be the case if the configuration is coming from an XML file. Methods setPath($path) from InvalidConfigurationException getPath() from InvalidConfigurationException Details setPath($path) Parameters $path getPath()

DumpNode

class DumpNode extends Twig_Node Methods __construct($varPrefix, Twig_Node $values = null, $lineno, $tag = null) compile(Twig_Compiler $compiler) {@inheritdoc} Details __construct($varPrefix, Twig_Node $values = null, $lineno, $tag = null) Parameters $varPrefix Twig_Node $values $lineno $tag compile(Twig_Compiler $compiler) {@inheritdoc} Parameters Twig_Compiler $compiler

DumpListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

DumpTokenParser::parse()

parse(Twig_Token $token) {@inheritdoc} Parameters Twig_Token $token

DumpListener

class DumpListener implements EventSubscriberInterface Configures dump() handler. Methods __construct(ClonerInterface $cloner, DataDumperInterface $dumper) configure() static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(ClonerInterface $cloner, DataDumperInterface $dumper) Parameters ClonerInterface $cloner Cloner service DataDumperInterface $dumper Dumper servi

DumpListener::configure()

configure()

DumpTokenParser

class DumpTokenParser extends Twig_TokenParser Token Parser for the 'dump' tag. Dump variables with: {% dump %} {% dump foo %} {% dump foo, bar %} Methods parse(Twig_Token $token) {@inheritdoc} getTag() {@inheritdoc} Details parse(Twig_Token $token) {@inheritdoc} Parameters Twig_Token $token getTag() {@inheritdoc}

DumpTokenParser::getTag()

getTag() {@inheritdoc}

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()

DumpExtension::getFunctions()

getFunctions()