protected function evaluateMatcher()
    {
        if ($this->isEvaluated) {
            return;
        }
        $context = new EelContext($this->getConditionGenerator());

        /** @var EntityPrivilegeExpressionEvaluator $evaluator */
        $evaluator = $this->objectManager->get(EntityPrivilegeExpressionEvaluator::class);
        $result = $evaluator->evaluate($this->getParsedMatcher(), $context);
        $this->entityType = $result['entityType'];
        $this->conditionGenerator = $result['conditionGenerator'] !== null ? $result['conditionGenerator'] : new TrueConditionGenerator();
        $this->isEvaluated = true;
    }
protected function evaluateMatcher()
    {
        if ($this->isEvaluated) {
            return;
        }
        $context = new EelContext($this->getConditionGenerator());

        /** @var EntityPrivilegeExpressionEvaluator $evaluator */
        $evaluator = $this->objectManager->get(EntityPrivilegeExpressionEvaluator::class);
        $result = $evaluator->evaluate($this->getParsedMatcher(), $context);
        $this->entityType = $result['entityType'];
        $this->conditionGenerator = $result['conditionGenerator'] !== null ? $result['conditionGenerator'] : new TrueConditionGenerator();
        $this->isEvaluated = true;
    }
protected function evaluateMatcher ( ) { if ( $ this -> isEvaluated ) { return ; } $ context = new EelContext ( $ this -> getConditionGenerator ( ) ) ; /** @var EntityPrivilegeExpressionEvaluator $evaluator */ $ evaluator = $ this -> objectManager -> get ( EntityPrivilegeExpressionEvaluator :: class ) ; $ result = $ evaluator -> evaluate ( $ this -> getParsedMatcher ( ) , $ context ) ; $ this -> entityType = $ result [ 'entityType' ] ; $ this -> conditionGenerator = $ result [ 'conditionGenerator' ] !== null ? $ result [ 'conditionGenerator' ] : new TrueConditionGenerator ( ) ; $ this -> isEvaluated = true ; }
parses the matcher of this privilege using Eel and extracts "entityType" and "conditionGenerator"

@return void
parses the matcher of this privilege using Eel and extracts entityType and conditionGenerator