• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/push/service/apple.php
  • Класс: BitrixPullPushServiceApple
  • Вызов: Apple::getBatch
public function getBatch(array $messages = []): string
{
	$arGroupedMessages = self::getGroupedByServiceMode($messages);
	if (empty($arGroupedMessages))
	{
		return '';
	}

	$batch = $this->getProductionBatch($arGroupedMessages["PRODUCTION"]);
	$batch .= $this->getSandboxBatch($arGroupedMessages["SANDBOX"]);

	return $batch;
}