method
public
AbstractCase::getUserRepository()
Класс: \Bitrix\Tasks\Internals\Notification\UseCase\AbstractCase
Сигнатура
public getUserRepository() : UserRepositoryInterface
Возвращаемое значение
UserRepositoryInterface
Как применяется в AbstractCase
AbstractCase::getUserRepository() — метод класса \Bitrix\Tasks\Internals\Notification\UseCase\AbstractCase модуля «Задачи».
Метод объекта: сначала нужен экземпляр AbstractCase.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Notification\UseCase\AbstractCase;
Loader::includeModule('tasks');
/** @var AbstractCase $object */
$result = $object->getUserRepository();
// $result: UserRepositoryInterfaceДругие методы AbstractCase
getUserRepository() есть и у других классов модуля «Задачи»: CommentCreated, Metadata, NotificationReply, RegularTaskReplicated, RegularTaskStarted, TaskAddedToFlowWithHimselfDistribution, TaskAddedToFlowWithManualDistribution, TaskCreated.
Исходный файл: source/tasks/lib/internals/notification/usecase/abstractcase.php:42

