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

getFunctions()

{@inheritdoc}

createExpression($expression)

Parameters

$expression

string getName()

Returns the name of the extension.

Return Value

string The extension name

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