#[Package('inventory')]
class PropertyGroupTranslationCollection extends EntityCollection
{ /**
* @return list<string>
*/
public function getPropertyGroupIds(): array
{ /** @var list<string> $ids */
$ids =
$this->
fmap(fn (PropertyGroupTranslationEntity
$propertyGroupTranslation) =>
$propertyGroupTranslation->
getPropertyGroupId());
return $ids;
} public function filterByPropertyGroupId(string
$id): self
{ return $this->
filter(fn (PropertyGroupTranslationEntity
$propertyGroupTranslation) =>
$propertyGroupTranslation->
getPropertyGroupId() ===
$id);
} /**
* @return list<string>
*/