getPropertyGroupOptionId example


#[Package('inventory')] class PropertyGroupOptionTranslationCollection extends EntityCollection
{
    /** * @return list<string> */
    public function getPropertyGroupOptionIds(): array
    {
        /** @var list<string> $ids */
        $ids = $this->fmap(fn (PropertyGroupOptionTranslationEntity $propertyGroupOptionTranslation) => $propertyGroupOptionTranslation->getPropertyGroupOptionId());

        return $ids;
    }

    public function filterByPropertyGroupOptionId(string $id): self
    {
        return $this->filter(fn (PropertyGroupOptionTranslationEntity $propertyGroupOptionTranslation) => $propertyGroupOptionTranslation->getPropertyGroupOptionId() === $id);
    }

    /** * @return list<string> */
Home | Imprint | This part of the site doesn't use cookies.