Neos\FluidAdaptor\Core\Parser\SyntaxTree\Expression\LegacyNamespaceExpressionNode::evaluateExpression PHP Method

evaluateExpression() public static method

Evaluates the expression stored in this node, in the context of $renderingcontext.
public static evaluateExpression ( TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, string $expression, array $matches ) : mixed
$renderingContext TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface
$expression string
$matches array
return mixed
    public static function evaluateExpression(RenderingContextInterface $renderingContext, $expression, array $matches)
    {
        $renderingContext->getViewHelperResolver()->addNamespace($matches[1], $matches[2]);
    }
LegacyNamespaceExpressionNode