You are here

public function TransferStats::getHandlerStat in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/TransferStats.php \GuzzleHttp\TransferStats::getHandlerStat()

Get a specific handler statistic from the handler by name.

Parameters

string $stat Handler specific transfer stat to retrieve.:

Return value

mixed|null

File

vendor/guzzlehttp/guzzle/src/TransferStats.php, line 120

Class

TransferStats
Represents data at the point after it was transferred either successfully or after a network error.

Namespace

GuzzleHttp

Code

public function getHandlerStat($stat) {
  return isset($this->handlerStats[$stat]) ? $this->handlerStats[$stat] : null;
}