Метод canReadClient

private

Сигнатура метода

private function canReadClient(array $client): bool

Возвращает: bool

Описание

An unnamed entity widens {@see EntityLinkAccess::canReadOwnerEntity()} into "is there any type the user may read", so an empty client is refused here rather than reaching it: the invariant then holds wherever the question is asked from, not only after {@see self::ownerHasClient()}.

Параметры

1
Имя Тип По умолчанию Флаги
$client array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Requisite/ClientRequisiteService.php
Расположение метода в файле
Строки 246–251

Исходный код

PHP