• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/model/entity.php
  • Класс: BitrixCatalogModelEntity
  • Вызов: Entity::getEntity
static function getEntity(): Entity
{
	$className = get_called_class();
	if (empty(self::$entity[$className]))
	{
		$entity = new static;
		self::$entity[$className] = $entity;
	}

	return self::$entity[$className];
}