• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/recurring/command.php
  • Класс: Bitrix\Crm\Recurring\Command
  • Вызов: Command::loadEntity
static function loadEntity($type)
{
	$className = __NAMESPACE__."\\Entity\\".$type;
	if (!class_exists($className) || !self::isEntityExist($type))
	{
		return null;
	}

	return call_user_func("{$className}::getInstance");
}