You are here

SolrCacheInterface.php in Search API Solr 8.3

Same filename and directory in other branches
  1. 4.x src/SolrCacheInterface.php

File

src/SolrCacheInterface.php
View source
<?php

namespace Drupal\search_api_solr;


/**
 * Provides an interface defining a SolrCache entity.
 */
interface SolrCacheInterface extends SolrConfigInterface {

  /**
   * Gets the environments targeted by this Solr Cache.
   *
   * @return string[]
   *   Environments.
   */
  public function getEnvironments();

  /**
   * Gets the Solr Cache definition as nested associative array.
   *
   * @return array
   *   The Solr Cache definition as nested associative array.
   */
  public function getCache();

}

Interfaces

Namesort descending Description
SolrCacheInterface Provides an interface defining a SolrCache entity.