• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/v2/Sku/SkuRepository.php
  • Класс: BitrixCatalogv2SkuSkuRepository
  • Вызов: SkuRepository::createEntity
protected function createEntity(array $fields = [], PropertyCollection $propertyCollection = null): BaseIblockElementEntity
{
	$entity = parent::createEntity($fields);

	if ($propertyCollection)
	{
		$entity->setPropertyCollection($propertyCollection);
	}

	return $entity;
}