Метод onSubscriptionRenew
Сигнатура метода
public static function onSubscriptionRenew(Event $event): void
Возвращает:
void
Описание
Handles rest:onSubscriptionRenew — the internal event published when the paid subscription date changes and the subscription is available again. The event carries no payload, so the subscription state is not read from it; the positive transition is delegated to the domain service, which re-reads the current state on its own. The service is idempotent against repeated firings thanks to the auto-disable memory and the "seen" marker.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$event
|
Event
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/integration/rest/eventhandler.php
Расположение метода в файле
Строки
23–26