method public

NotificationReply::getUserRepository()

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

Сигнатура

public getUserRepository() : UserRepositoryInterface

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

UserRepositoryInterface

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

NotificationReply::getUserRepository() — метод класса \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->getUserRepository();
// $result: UserRepositoryInterface

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

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

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

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