method public

TaskAddedToFlowWithManualDistribution::getUserRepository()

Класс: \Bitrix\Tasks\Internals\Notification\UseCase\Flow\TaskAddedToFlowWithManualDistribution

Сигнатура

public getUserRepository() : UserRepositoryInterface

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

UserRepositoryInterface

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Notification\UseCase\Flow\TaskAddedToFlowWithManualDistribution;

Loader::includeModule('tasks');

/** @var TaskAddedToFlowWithManualDistribution $object */
$result = $object->getUserRepository();
// $result: UserRepositoryInterface

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

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

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

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