From 83fd03b1245f662f9087c1bd91d0583663a10299 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 20 May 2019 18:44:44 +0200 Subject: [PATCH] Add PhpDoc --- src/Core/Search.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Core/Search.php b/src/Core/Search.php index c08d4ebcc..dcc297780 100644 --- a/src/Core/Search.php +++ b/src/Core/Search.php @@ -5,14 +5,20 @@ namespace Friendica\Core; use Friendica\BaseObject; use Friendica\Database\DBA; use Friendica\Model\Contact; -use Friendica\Network\Probe; use Friendica\Network\HTTPException; +use Friendica\Network\Probe; use Friendica\Object\Search\ContactResult; use Friendica\Object\Search\ResultList; use Friendica\Protocol\PortableContact; use Friendica\Util\Network; use Friendica\Util\Strings; +/** + * Specific class to perform searches for different systems. Currently: + * - Probe for contacts + * - Search in the local directory + * - Search in the global directory + */ class Search extends BaseObject { const DEFAULT_DIRECTORY = 'https://dir.friendica.social';