• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/v2/PropertyFeature/PropertyFeatureCollection.php
  • Класс: BitrixCatalogv2PropertyFeaturePropertyFeatureCollection
  • Вызов: PropertyFeatureCollection::findByFeatureId
public function findByFeatureId(string $featureId): ?PropertyFeature
{
	/** @var PropertyFeature $item */
	foreach ($this->getIterator() as $item)
	{
		if ($item->getFeatureId() === $featureId)
		{
			return $item;
		}
	}

	return null;
}