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