W3cubDocs

/Symfony 4.1

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.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/DumpExtension.html