first commit
This commit is contained in:
@@ -25,7 +25,7 @@ namespace WapplerSystems\Meilisearch\Domain\Site;
|
||||
* This copyright notice MUST APPEAR in all copies of the script!
|
||||
***************************************************************/
|
||||
|
||||
use WapplerSystems\Meilisearch\NoSolrConnectionFoundException;
|
||||
use WapplerSystems\Meilisearch\NoMeilisearchConnectionFoundException;
|
||||
|
||||
interface SiteInterface
|
||||
{
|
||||
@@ -52,11 +52,11 @@ interface SiteInterface
|
||||
public function getLabel();
|
||||
|
||||
/**
|
||||
* Gets the site's Solr TypoScript configuration (plugin.tx_meilisearch.*)
|
||||
* Gets the site's Meilisearch TypoScript configuration (plugin.tx_meilisearch.*)
|
||||
*
|
||||
* @return \WapplerSystems\Meilisearch\System\Configuration\TypoScriptConfiguration The Solr TypoScript configuration
|
||||
* @return \WapplerSystems\Meilisearch\System\Configuration\TypoScriptConfiguration The Meilisearch TypoScript configuration
|
||||
*/
|
||||
public function getSolrConfiguration();
|
||||
public function getMeilisearchConfiguration();
|
||||
|
||||
/**
|
||||
* Gets the site's default language as configured in
|
||||
@@ -114,15 +114,15 @@ interface SiteInterface
|
||||
/**
|
||||
* @param int $language
|
||||
* @return array
|
||||
* @throws NoSolrConnectionFoundException
|
||||
* @throws NoMeilisearchConnectionFoundException
|
||||
*/
|
||||
public function getSolrConnectionConfiguration(int $language = 0): array;
|
||||
public function getMeilisearchConnectionConfiguration(int $language = 0): array;
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws NoSolrConnectionFoundException
|
||||
* @throws NoMeilisearchConnectionFoundException
|
||||
*/
|
||||
public function getAllSolrConnectionConfigurations(): array;
|
||||
public function getAllMeilisearchConnectionConfigurations(): array;
|
||||
|
||||
public function isEnabled(): bool;
|
||||
}
|
||||
|
Reference in New Issue
Block a user