TokenParser\DumpTokenParser (Bridge\Twig)

Symfony\Bridge\Twig\TokenParser\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

public parse(Twig_Token $token)

{@inheritdoc}

Parameters

Twig_Token $token

public getTag()

{@inheritdoc}

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bridge/Twig/TokenParser/DumpTokenParser.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部