You are here

public function HttpClient::getCommands in HTTP Client Manager 8

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

Get service api commands.

Return value

mixed

Overrides HttpClientInterface::getCommands

File

src/HttpClient.php, line 97

Class

HttpClient

Namespace

Drupal\http_client_manager

Code

public function getCommands() {
  return $this
    ->getClient()
    ->getDescription()
    ->getOperations();
}