use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
use Shopware\Core\Framework\Log\Package;
/**
* @extends EntityCollection<CountryStateTranslationEntity>
*/
#[Package('buyers-experience')]
class CountryStateTranslationCollection extends EntityCollection
{ public function getCountryStateIds(): array
{ return $this->
fmap(fn (CountryStateTranslationEntity
$countryStateTranslation) =>
$countryStateTranslation->
getCountryStateId());
} public function filterByCountryStateId(string
$id): self
{ return $this->
filter(fn (CountryStateTranslationEntity
$countryStateTranslation) =>
$countryStateTranslation->
getCountryStateId() ===
$id);
} public function getLanguageIds(): array
{ return $this->
fmap(fn (CountryStateTranslationEntity
$countryStateTranslation) =>
$countryStateTranslation->
getLanguageId());
}