1
0

IEventSourceFactory.php 364 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP;
  8. /**
  9. * @since 28.0.0
  10. */
  11. interface IEventSourceFactory {
  12. /**
  13. * Create a new event source
  14. *
  15. * @return IEventSource
  16. * @since 28.0.0
  17. */
  18. public function create(): IEventSource;
  19. }