ICommentsEventHandler.php 552 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Comments;
  7. /**
  8. * Interface ICommentsEventHandler
  9. *
  10. * @since 11.0.0
  11. * @deprecated 30.0.0 Register a listener for the CommentsEvent through the IEventDispatcher
  12. */
  13. interface ICommentsEventHandler {
  14. /**
  15. * @param CommentsEvent $event
  16. * @since 11.0.0
  17. * @deprecated 30.0.0 Register a listener for the CommentsEvent through the IEventDispatcher
  18. */
  19. public function handle(CommentsEvent $event);
  20. }