src/Sulu/Bundle/AudienceTargetingBundle/TargetGroup/TargetGroupEvaluator.php
private function evaluateTargetGroup(TargetGroupInterface $targetGroup)
    {
        foreach ($targetGroup->getRules() as $targetGroupRule) {
            if ($this->evaluateTargetGroupRule($targetGroupRule)) {
                return true;
            }
        }

        return false;
    }
private function evaluateTargetGroup(TargetGroupInterface $targetGroup)
    {
        foreach ($targetGroup->getRules() as $targetGroupRule) {
            if ($this->evaluateTargetGroupRule($targetGroupRule)) {
                return true;
            }
        }

        return false;
    }
private function evaluateTargetGroup ( TargetGroupInterface $ targetGroup ) { foreach ( $ targetGroup -> getRules ( ) as $ targetGroupRule ) { if ( $ this -> evaluateTargetGroupRule ( $ targetGroupRule ) ) { return true ; } } return false ; }
Evaluates if one of the rules of the given TargetGroup match. If one of these rules are matching the entire
target group is matching.

@param TargetGroupInterface $targetGroup

@return bool
Evaluates if one of the rules of the given TargetGroup match . If one of these rules are matching the entire target group is matching .