1
0

IProviderManager.php 530 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Collaboration\Resources;
  8. /**
  9. * @since 18.0.0
  10. */
  11. interface IProviderManager {
  12. /**
  13. * @return IProvider[] list of resource providers
  14. * @since 18.0.0
  15. */
  16. public function getResourceProviders(): array;
  17. /**
  18. * @param string $provider provider's class name
  19. * @since 18.0.0
  20. */
  21. public function registerResourceProvider(string $provider): void;
  22. }