2017-01-24 01:47:14 -05:00
|
|
|
<?php
|
2023-10-10 10:11:25 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
/**
|
2023-10-10 10:11:25 -04:00
|
|
|
* Process contacts menu entries
|
|
|
|
|
*
|
|
|
|
|
* @see IBulkProvider for providers that work with the full dataset at once
|
|
|
|
|
*
|
2017-01-24 01:47:14 -05:00
|
|
|
* @since 12.0
|
|
|
|
|
*/
|
|
|
|
|
interface IProvider {
|
|
|
|
|
/**
|
|
|
|
|
* @since 12.0
|
|
|
|
|
* @param IEntry $entry
|
2017-04-10 10:49:26 -04:00
|
|
|
* @return void
|
2017-01-24 01:47:14 -05:00
|
|
|
*/
|
|
|
|
|
public function process(IEntry $entry);
|
|
|
|
|
}
|