IIcon.php 449 B

12345678910111213141516171819202122232425
  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\WorkflowEngine\EntityContext;
  8. /**
  9. * Interface IIcon
  10. *
  11. *
  12. * @since 18.0.0
  13. */
  14. interface IIcon {
  15. /**
  16. * returns a URL to an icon that is related to the entity, for instance
  17. * a group icon for groups.
  18. *
  19. * @since 18.0.0
  20. */
  21. public function getIconUrl(): string;
  22. }