AvailableCombinationResult
$combinations ): ?bool
{ unset($current[$option->
getGroupId()]);
$current[] =
$option->
getId();
// available with all other current selected options
if ($combinations->
hasCombination($current) &&
$combinations->
isAvailable($current)) { return true;
} // available but not with the other current selected options
if ($combinations->
hasOptionId($option->
getId())) { return false;
} return null;
} /**
* @return array<int|string, string>
*/
private function buildCurrentOptions(SalesChannelProductEntity
$product, PropertyGroupCollection
$groups): array
{