src/Constraint/ConstraintResolver.php
public function resolve($constraint, Context $context)
    {
        try {
            return $this->expressionLanguage->evaluate($constraint, array_merge(
                $context->all(),
                ['context' => $context]
            ));
        } catch (SyntaxError $exception) {
            throw new ConstraintSyntaxException('Feature constraint expression is invalid', 0, $exception);
        }
    }
public function resolve($constraint, Context $context)
    {
        try {
            return $this->expressionLanguage->evaluate($constraint, array_merge(
                $context->all(),
                ['context' => $context]
            ));
        } catch (SyntaxError $exception) {
            throw new ConstraintSyntaxException('Feature constraint expression is invalid', 0, $exception);
        }
    }
public function resolve ( $ constraint , Context $ context ) { try { return $ this -> expressionLanguage -> evaluate ( $ constraint , array_merge ( $ context -> all ( ) , [ 'context' => $ context ] ) ) ; } catch ( SyntaxError $ exception ) { throw new ConstraintSyntaxException ( 'Feature constraint expression is invalid' , 0 , $ exception ) ; } }
{@inheritdoc}
{