• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/timeline/factorybasedcontroller.php
  • Класс: Bitrix\Crm\Timeline\FactoryBasedController
  • Вызов: FactoryBasedController::sendPullEvent
protected function sendPullEvent(int $entityId, string $command, int $timelineEntryId = null): void
{
	$historyDataModel = is_null($timelineEntryId) ? null : $this->prepareHistoryDataModelForPush($timelineEntryId);

	Container::getInstance()->getTimelinePusher()->sendPullEvent(
		$this->getEntityTypeID(),
		$entityId,
		$command,
		$historyDataModel
	);
}