ILinkAction.php 438 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Contacts\ContactsMenu;
  7. /**
  8. * @since 12.0
  9. */
  10. interface ILinkAction extends IAction {
  11. /**
  12. * @param string $href the target URL of the action
  13. * @since 12.0
  14. */
  15. public function setHref(string $href);
  16. /**
  17. * @since 12.0
  18. * @return string
  19. */
  20. public function getHref(): string;
  21. }