W3cubDocs

/Symfony 4.1

DumpTokenParser

class DumpTokenParser extends AbstractTokenParser

Token Parser for the 'dump' tag.

Dump variables with:

{% dump %}
{% dump foo %}
{% dump foo, bar %}

Methods

parse(Token $token)

{@inheritdoc}

getTag()

{@inheritdoc}

Details

parse(Token $token)

{@inheritdoc}

Parameters

Token $token

getTag()

{@inheritdoc}

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/TokenParser/DumpTokenParser.html