public function HttpClient::getCommand in HTTP Client Manager 8
Same name and namespace in other branches
- 8.2 src/HttpClient.php \Drupal\http_client_manager\HttpClient::getCommand()
Get single service api command by name.
Parameters
string $commandName: The command name.
Return value
mixed
Overrides HttpClientInterface::getCommand
File
- src/
HttpClient.php, line 104
Class
Namespace
Drupal\http_client_managerCode
public function getCommand($commandName) {
return $this
->getClient()
->getCommand($commandName)
->getOperation();
}