method public

NotificationReply::getCurrentSender()

Класс: \Bitrix\Tasks\Internals\Notification\UseCase\NotificationReply

Сигнатура

public getCurrentSender() : User|null

Возвращаемое значение

User|null

Как применяется в NotificationReply

NotificationReply::getCurrentSender() — метод класса \Bitrix\Tasks\Internals\Notification\UseCase\NotificationReply модуля «Задачи».

Метод объекта: сначала нужен экземпляр NotificationReply.

use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Notification\UseCase\NotificationReply;

Loader::includeModule('tasks');

/** @var NotificationReply $object */
$result = $object->getCurrentSender();
// $result: User|null

Другие методы NotificationReply

getCurrentSender() есть и у других классов модуля «Задачи»: AbstractCase, CommentCreated, RegularTaskReplicated, RegularTaskStarted, TaskAddedToFlowWithHimselfDistribution, TaskAddedToFlowWithManualDistribution, TaskCreated, TaskDeleted.

Исходный файл: source/tasks/lib/internals/notification/usecase/notificationreply.php:47

Что будем искать? Например,Продвижение