Neos\Flow\Aop\Pointcut\PointcutExpressionParser::parseRuntimeEvaluations PHP Method

parseRuntimeEvaluations() protected method

Adds runtime evaluations to the pointcut filter composite
protected parseRuntimeEvaluations ( string $operator, string $runtimeEvaluations, PointcutFilterComposite $pointcutFilterComposite ) : void
$operator string The operator
$runtimeEvaluations string The runtime evaluations string
$pointcutFilterComposite PointcutFilterComposite An instance of the pointcut filter composite. The result (ie. the custom filter) will be added to this composite object.
return void
    protected function parseRuntimeEvaluations($operator, $runtimeEvaluations, PointcutFilterComposite $pointcutFilterComposite)
    {
        $runtimeEvaluationsDefinition = [$operator => ['evaluateConditions' => $this->getRuntimeEvaluationConditionsFromEvaluateString($runtimeEvaluations)]];
        $pointcutFilterComposite->setGlobalRuntimeEvaluationsDefinition($runtimeEvaluationsDefinition);
    }