• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/notification/controller.php
  • Класс: BitrixTasksInternalsNotificationController
  • Вызов: Controller::onTaskPingSend
public function onTaskPingSend(TaskObject $task, int $authorId): self
{
	$result = (new NotificationUseCaseTaskPingSent(
		$task,
		$this->buffer,
		$this->userRepository,
		new ProviderCollection(...$this->getDefaultNotificationProviders()),
	))->execute($authorId);

	if ($result === true)
	{
		(new TimeLineManager($task->getId(), $authorId))->onTaskPingSent()->save();
	}

	return $this;
}