You are here

public function ExampleController::__construct in HTTP Client Manager 8.2

Same name and namespace in other branches
  1. 8 modules/http_client_manager_example/src/Controller/ExampleController.php \Drupal\http_client_manager_example\Controller\ExampleController::__construct()

File

modules/http_client_manager_example/src/Controller/ExampleController.php, line 44

Class

ExampleController
Class ExampleController.

Namespace

Drupal\http_client_manager_example\Controller

Code

public function __construct(HttpClientInterface $http_client, HttpServiceApiWrapperInterface $api_wrapper, HttpServiceApiWrapperFactoryInterface $api_wrapper_factory) {
  $this->httpClient = $http_client;
  $this->api = $api_wrapper;
  $this->apiFactory = $api_wrapper_factory;
}