You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
423 B

<?php
namespace App\Wrappers;
use Algolia\AlgoliaSearch\Api\SearchClient;
use App\Configuration;
class AlgoliaInteractions
{
private SearchClient $SearchClient;
public function __construct()
{
$this->SearchClient = SearchClient::create(
appId: Configuration::GetConfig("Algolia", "AppID"),
apiKey: Configuration::GetConfig("Algolia", "Keys", "SearchOnly"),
);
}
}