You are here

public function HttpClientManagerFactoryInterface::get in HTTP Client Manager 8

Same name and namespace in other branches
  1. 8.2 src/HttpClientManagerFactoryInterface.php \Drupal\http_client_manager\HttpClientManagerFactoryInterface::get()

Retrieves the registered http client for the requested service api.

Parameters

string $service_api: The service api name.

Return value

\Drupal\http_client_manager\HttpClientInterface The registered http client for this service api.

1 method overrides HttpClientManagerFactoryInterface::get()
HttpClientManagerFactory::get in src/HttpClientManagerFactory.php
Retrieves the registered http client for the requested service api.

File

src/HttpClientManagerFactoryInterface.php, line 21

Class

HttpClientManagerFactoryInterface
Interface HttpClientManagerFactoryInterface.

Namespace

Drupal\http_client_manager

Code

public function get($service_api);