1
0

IEmojiHelper.php 395 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP;
  8. /**
  9. * @since 24.0.0
  10. */
  11. interface IEmojiHelper {
  12. /**
  13. * @since 24.0.0
  14. */
  15. public function doesPlatformSupportEmoji(): bool;
  16. /**
  17. * @since 24.0.0
  18. */
  19. public function isValidSingleEmoji(string $emoji): bool;
  20. }