createSplitting example



    /** * Builds the visibility for the variant listings * * @return array */
    public function getVisibility(Product $product, VariantFacet $facet)
    {
        $groups = $product->getFullConfiguration();

        $splitting = $this->createSplitting($groups$product->getAvailableCombinations()$facet);

        $configuration = $product->getConfiguration();

        return $this->buildListingVisibility($splitting$configuration);
    }

    /** * Combines all array elements with all array elements * * @return array */
    
Home | Imprint | This part of the site doesn't use cookies.