Registry

class OC\Support\Subscription\Registry
Source:lib/private/Support/Subscription/Registry.php#44
Implements:OCP\Support\Subscription\IRegistry

Properties

Methods

public OC\Support\Subscription\Registry::__construct($config, $container, $userManager, $groupManager, $logger, $notificationManager)
Source:lib/private/Support/Subscription/Registry.php#66
public OC\Support\Subscription\Registry::register($subscription)
Register a subscription instance. In case it is called multiple times the
first one is used.
Source:

lib/private/Support/Subscription/Registry.php#101

Parameters:
Throws:

\OCP\Support\Subscription\Exception\AlreadyRegisteredException

Since:

17.0.0

public OC\Support\Subscription\Registry::registerService($subscriptionService)
Source:lib/private/Support/Subscription/Registry.php#108
public OC\Support\Subscription\Registry::delegateGetSupportedApps()
Fetches the list of app IDs that are supported by the subscription
Source:lib/private/Support/Subscription/Registry.php#122
Since:17.0.0
public OC\Support\Subscription\Registry::delegateHasValidSubscription()
Indicates if a valid subscription is available
Source:lib/private/Support/Subscription/Registry.php#134
Since:17.0.0
public OC\Support\Subscription\Registry::delegateHasExtendedSupport()
Indicates if the subscription has extended support
Source:lib/private/Support/Subscription/Registry.php#151
Since:17.0.0
public OC\Support\Subscription\Registry::delegateIsHardUserLimitReached()
Indicates if a hard user limit is reached and no new users should be created
Source:lib/private/Support/Subscription/Registry.php#164
Since:21.0.0