?iť?

Your IP : 18.227.134.133


Current Path : /home/scgforma/www/cloud/lib/public/Contacts/ContactsMenu/
Upload File :
Current File : /home/scgforma/www/cloud/lib/public/Contacts/ContactsMenu/IContactsStore.php

<?php

namespace OCP\Contacts\ContactsMenu;

use OCP\IUser;

/**
 * @since 13.0.0
 */
interface IContactsStore {


	/**
	 * @param IUser $user
	 * @param $filter
	 * @return IEntry[]
	 * @since 13.0.0
	 */
	public function getContacts(IUser $user, $filter);

	/**
	 * @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith)
	 * @param IUser $user
	 * @param integer $shareType
	 * @param string $shareWith
	 * @return IEntry|null
	 * @since 13.0.0
	 */
	public function findOne(IUser $user, $shareType, $shareWith);

}