You are here

public function ExampleController::getClient 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::getClient()

Get Client.

Return value

\Drupal\http_client_manager\HttpClientInterface The Http Client instance.

1 call to ExampleController::getClient()
ExampleController::findPosts in modules/http_client_manager_example/src/Controller/ExampleController.php
Find posts.

File

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

Class

ExampleController
Class ExampleController.

Namespace

Drupal\http_client_manager_example\Controller

Code

public function getClient() {
  return $this->httpClient;
}