You are here

public function SolrConnectorInterface::getEndpoint in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getEndpoint()
  2. 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getEndpoint()
  3. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getEndpoint()

Returns an endpoint.

Parameters

string $key: The endpoint ID.

Return value

\Solarium\Core\Client\Endpoint The Solarium endpoint object.

Throws

\Solarium\Exception\OutOfBoundsException

1 method overrides SolrConnectorInterface::getEndpoint()
SolrConnectorPluginBase::getEndpoint in src/SolrConnector/SolrConnectorPluginBase.php
Returns an endpoint.

File

src/SolrConnectorInterface.php, line 516

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function getEndpoint($key = 'search_api_solr');