From 6684bf457030f46825b785a18d0029d2fccd0f87 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Wed, 10 Apr 2019 11:46:20 -0100 Subject: +isAvailable() Signed-off-by: Maxence Lange --- lib/public/FullTextSearch/IFullTextSearchManager.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/public/FullTextSearch') diff --git a/lib/public/FullTextSearch/IFullTextSearchManager.php b/lib/public/FullTextSearch/IFullTextSearchManager.php index 1027f7ade75..3c2aa6324d7 100644 --- a/lib/public/FullTextSearch/IFullTextSearchManager.php +++ b/lib/public/FullTextSearch/IFullTextSearchManager.php @@ -78,6 +78,16 @@ interface IFullTextSearchManager { */ public function registerSearchService(ISearchService $searchService); + /** + * returns true is Full Text Search is available (app is present and Service + * are registered) + * + * @since 16.0.0 + * + * @return bool + */ + public function isAvailable(): bool; + /** * Add the Javascript API in the navigation page of an app. -- cgit v1.2.3