} private function getPropertyGroupAlphaNumericOnlyNumbers(): PropertyGroupCollection
{ $propertyGroup =
new PropertyGroupEntity();
$propertyGroup->
setId(Uuid::
randomHex());
$propertyGroup->
setName('Alphanumeric only numbers'
);
$propertyGroup->
setSortingType(PropertyGroupDefinition::SORTING_TYPE_ALPHANUMERIC
);
$propertyGroup->
setDisplayType(PropertyGroupDefinition::DISPLAY_TYPE_TEXT
);
$propertyGroup->
setPosition(1
);
$propertyGroup->
setOptions($this->
getPropertyOptionsOnlyNumbers());
return new PropertyGroupCollection([$propertyGroup]);
} private function getPropertyGroupAlphaNumericNumbersFirstThenLetters(): PropertyGroupCollection
{ $propertyGroup =
new PropertyGroupEntity();
$propertyGroup->
setId(Uuid::
randomHex());
$propertyGroup->
setName('Alphanumeric numbers first then letters'
);
$propertyGroup->
setSortingType(PropertyGroupDefinition::SORTING_TYPE_ALPHANUMERIC
);
$propertyGroup->
setDisplayType(PropertyGroupDefinition::DISPLAY_TYPE_TEXT
);