Documentation

IRegistry
in

Tags
since
17.0.0

Table of Contents

delegateGetSupportedApps()  : array
Fetches the list of app IDs that are supported by the subscription
delegateHasExtendedSupport()  : bool
Indicates if the subscription has extended support
delegateHasValidSubscription()  : bool
Indicates if a valid subscription is available
register()  : void
Register a subscription instance. In case it is called multiple times an exception is thrown
registerService()  : void
Register a subscription handler. The service has to implement the ISubscription interface.

Methods

delegateGetSupportedApps()

Fetches the list of app IDs that are supported by the subscription

public delegateGetSupportedApps() : array
Tags
since
17.0.0
Return values
array —

delegateHasExtendedSupport()

Indicates if the subscription has extended support

public delegateHasExtendedSupport() : bool
Tags
since
17.0.0
Return values
bool —

delegateHasValidSubscription()

Indicates if a valid subscription is available

public delegateHasValidSubscription() : bool
Tags
since
17.0.0
Return values
bool —

registerService()

Register a subscription handler. The service has to implement the ISubscription interface.

public registerService(string $subscriptionService) : void

In case this is called multiple times an exception is thrown.

Parameters
$subscriptionService : string
Tags
throws
AlreadyRegisteredException
since
20.0.0

Search results