Neos\Fusion\Core\Runtime::evaluteExpressionOrValueInternal PHP Метод

evaluteExpressionOrValueInternal() защищенный Метод

Evaluates an EEL expression or value, checking if conditions first and applying processors.
protected evaluteExpressionOrValueInternal ( string $typoScriptPath, array $typoScriptConfiguration, array $cacheContext, mixed $contextObject ) : mixed
$typoScriptPath string
$typoScriptConfiguration array
$cacheContext array
$contextObject mixed
Результат mixed
    protected function evaluteExpressionOrValueInternal($typoScriptPath, $typoScriptConfiguration, $cacheContext, $contextObject)
    {
        if ($this->evaluateIfCondition($typoScriptConfiguration, $typoScriptPath, $contextObject) === false) {
            $this->finalizePathEvaluation($cacheContext);
            $this->lastEvaluationStatus = self::EVALUATION_SKIPPED;
            return null;
        }
        $evaluatedExpression = $this->evaluateEelExpressionOrSimpleValueWithProcessor($typoScriptPath, $typoScriptConfiguration, $contextObject);
        $this->finalizePathEvaluation($cacheContext);
        return $evaluatedExpression;
    }