getBaseConditionsByClass example

$facet->setMax($condition->getMaxPrice());
            }
        }
    }

    /** * @param FacetResultInterface[] $facets */
    private function removeStreamPropertyConditions(array $facets, Criteria $criteria)
    {
        /** @var PropertyCondition[]|null $conditions */
        $conditions = $this->getBaseConditionsByClass(PropertyCondition::class$criteria);
        if (!$conditions) {
            return;
        }

        /** @var FacetResultGroup|null $facet */
        $facet = $this->getFacetByName($facets, 'property');
        if ($facet === null) {
            return;
        }

        $new = [];
        
Home | Imprint | This part of the site doesn't use cookies.