You are here

public function TimeoutAwarePsr18Adapter::getTimeout in Acquia Search 3.x

Same name and namespace in other branches
  1. 2.x src/Client/Adapter/TimeoutAwarePsr18Adapter.php \Drupal\acquia_search\Client\Adapter\TimeoutAwarePsr18Adapter::getTimeout()

Retrieves adapter timeout.

Return value

int Timeout in seconds.

File

src/Client/Adapter/TimeoutAwarePsr18Adapter.php, line 54

Class

TimeoutAwarePsr18Adapter
Psr18 Adapter that implements TimeoutAwareInterface.

Namespace

Drupal\acquia_search\Client\Adapter

Code

public function getTimeout() : int {
  return $this->timeout;
}