12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?php
- declare(strict_types=1);
- namespace OCP\Support\Subscription;
- use OCP\Notification\IManager;
- use OCP\Support\Subscription\Exception\AlreadyRegisteredException;
- interface IRegistry {
-
- public function register(ISubscription $subscription): void;
-
- public function registerService(string $subscriptionService): void;
-
- public function delegateGetSupportedApps(): array;
-
- public function delegateHasValidSubscription(): bool;
-
- public function delegateHasExtendedSupport(): bool;
-
- public function delegateIsHardUserLimitReached(?IManager $notificationManager = null): bool;
- }
|