2 declare(strict_types = 1);
48 foreach ($this->restrictions as $restriction) {
49 $constraints[] = $restriction->buildExpression($queriedTables, $expressionBuilder);
51 return $expressionBuilder->
andX(...$constraints);
73 unset($this->restrictions[$restrictionType], $this->enforcedRestrictions[$restrictionType]);
85 $this->restrictions[get_class($restriction)] = $restriction;
87 $this->enforcedRestrictions[get_class($restriction)] = $restriction;
101 return GeneralUtility::makeInstance($restrictionClass);