f7cloud_client/apps/contacts/lib/Service/Social/ISocialProvider.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

29 lines
557 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2020 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Contacts\Service\Social;
interface ISocialProvider {
/**
* Returns true if provider supports the contact
*
* @param {array} contact details
*
* @return boolean
*/
public function supportsContact(array $contact):bool ;
/**
* Returns all possible profile-picture urls
*
* @param {array} contact information
*
* @return array
*/
public function getImageUrls(array $contact):array ;
}