DumpExtension

class DumpExtension extends AbstractExtension

Provides integration of the dump() function with Twig.

Methods

__construct(ClonerInterface $cloner, HtmlDumper $dumper = null)
getFunctions()
getTokenParsers()
getName()
dump(Environment $env, $context)

Details

__construct(ClonerInterface $cloner, HtmlDumper $dumper = null)

Parameters

ClonerInterface $cloner
HtmlDumper $dumper

getFunctions()

getTokenParsers()

getName()

dump(Environment $env, $context)

Parameters

Environment $env
$context

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bridge/Twig/Extension/DumpExtension.html