YoastSEO_Vendor\GuzzleHttp\Handler
StreamHandler::invokeStats() private Yoast 1.0
{} Это метод класса: StreamHandler{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
// private - только в коде основоного (родительского) класса $result = $this->invokeStats( $options, \YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, $startTime, \YoastSEO_Vendor\Psr\Http\Message\ResponseInterface $response, $error );
Код StreamHandler::invokeStats() StreamHandler::invokeStats Yoast 15.6.2
private function invokeStats(array $options, \YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, $startTime, \YoastSEO_Vendor\Psr\Http\Message\ResponseInterface $response = null, $error = null)
{
if (isset($options['on_stats'])) {
$stats = new \YoastSEO_Vendor\GuzzleHttp\TransferStats($request, $response, \microtime(\true) - $startTime, $error, []);
\call_user_func($options['on_stats'], $stats);
}
}