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
*/
public static function arrayCombinations(array
$array) { $results =
[[]];