W3cubDocs

/Symfony 4.1

ExpressionExtension

class ExpressionExtension extends AbstractExtension

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.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/ExpressionExtension.html