Wilr\SilverStripe\Algolia\Tests\TestAlgoliaService
Synopsis
class TestAlgoliaService
extends AlgoliaService
implements
TestOnly
{
- // Inherited members from AlgoliaService
- public string $adminApiKey;
- public string $searchApiKey;
- public string $applicationId;
- public array $indexes;
- protected $client;
- // methods
- public void getClient()
- // Inherited methods from AlgoliaService
- public SearchClient getClient()
- public void getIndexes()
- public array initIndexes()
- public string environmentizeIndex()
- public void syncSettings()
Hierarchy
Members
protected
- $client
public
- $adminApiKey
- $applicationId
- $indexes
- $searchApiKey
Methods
public
Inherited from Wilr\SilverStripe\Algolia\Service\AlgoliaService
public
- environmentizeIndex() — Prefixes the given indexName with the configured prefix, or environment type.
- getClient()
- getIndexes()
- initIndexes() — Returns an array of all the indexes which need the given item or item class. If no item provided, returns a list of all the indexes defined.
- syncSettings() — Sync setting from YAML configuration into Algolia.