Метод getInviteCode
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
155–163
~/bitrix/modulesim/lib/V2/Guest/Auth/AuthorizationService.php
Исходный код
Сигнатура метода
public function getInviteCode(): ?string
Возвращает:
?string
Описание
Invite code of the current request. Prefers the value set during this request ({@see self::setInviteCode}, e.g. guest checkout/join) so it is resolvable on the guest's FIRST entry — before the response cookie has round-tripped — then falls back to the cookie.