/**
* @extends EntityCollection<ProductStreamTranslationEntity>
*/
#[Package('business-ops')]
class ProductStreamTranslationCollection extends EntityCollection
{ /**
* @return list<string>
*/
public function getProductStreamIds(): array
{ return $this->
fmap(fn (ProductStreamTranslationEntity
$productStreamTranslation) =>
$productStreamTranslation->
getProductStreamId());
} public function filterByProductStreamId(string
$id): self
{ return $this->
filter(fn (ProductStreamTranslationEntity
$productStreamTranslation) =>
$productStreamTranslation->
getProductStreamId() ===
$id);
} /**
* @return list<string>
*/
public function getLanguageIds(): array
{