You are here

public function HttpServiceApiWrapperFactoryInterface::addApiWrapper in HTTP Client Manager 8.2

Add an HTTP Service API wrapper.

Parameters

\Drupal\http_client_manager\Plugin\HttpServiceApiWrapper\HttpServiceApiWrapperInterface $wrapper: A HTTP Service API Wrapper Service.

string $api: The HTTP Service API name.

1 method overrides HttpServiceApiWrapperFactoryInterface::addApiWrapper()
HttpServiceApiWrapperFactory::addApiWrapper in src/HttpServiceApiWrapperFactory.php
Add an HTTP Service API wrapper.

File

src/HttpServiceApiWrapperFactoryInterface.php, line 22

Class

HttpServiceApiWrapperFactoryInterface
Interface HttpServiceApiWrapperFactoryInterface.

Namespace

Drupal\http_client_manager

Code

public function addApiWrapper(HttpServiceApiWrapperInterface $wrapper, $api);