Extension\ExpressionExtension (Bridge\Twig)

Symfony\Bridge\Twig\Extension\ExpressionExtension

class ExpressionExtension extends Twig_Extension

ExpressionExtension gives a way to create Expressions from a template.

Methods

getFunctions()

{@inheritdoc}

createExpression($expression)
string getName()

Returns the name of the extension.

Details

public getFunctions()

{@inheritdoc}

public createExpression($expression)

Parameters

$expression

public string getName()

Returns the name of the extension.

Return Value

string The extension name

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部