2017-01-24 01:47:14 -05:00
|
|
|
<?php
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2017-01-24 01:47:14 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-01-24 01:47:14 -05:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Contacts\ContactsMenu;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @since 12.0
|
|
|
|
|
*/
|
|
|
|
|
interface ILinkAction extends IAction {
|
|
|
|
|
/**
|
|
|
|
|
* @param string $href the target URL of the action
|
2022-03-22 07:39:23 -04:00
|
|
|
* @since 12.0
|
2017-01-24 01:47:14 -05:00
|
|
|
*/
|
2022-03-22 07:39:23 -04:00
|
|
|
public function setHref(string $href);
|
2017-01-24 01:47:14 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @since 12.0
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
2022-03-22 07:39:23 -04:00
|
|
|
public function getHref(): string;
|
2017-01-24 01:47:14 -05:00
|
|
|
}
|