TokenParser\FormThemeTokenParser (Bridge\Twig)

Symfony\Bridge\Twig\TokenParser\FormThemeTokenParser

class FormThemeTokenParser extends Twig_TokenParser

Token Parser for the 'form_theme' tag.

Methods

Twig_Node parse(Twig_Token $token)

Parses a token and returns a node.

string getTag()

Gets the tag name associated with this token parser.

Details

public Twig_Node parse(Twig_Token $token)

Parses a token and returns a node.

Parameters

Twig_Token $token A Twig_Token instance

Return Value

Twig_Node A Twig_Node instance

public string getTag()

Gets the tag name associated with this token parser.

Return Value

string The tag name

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部