68 $connectionTimeout = $this->
getConfig()[
'connectionTimeout'] ?? 1;
69 $persistent = $this->
getConfig()[
'persistent'] ??
true;
74 if (
count($this->servers) === 1)
76 [
'host' =>
$host,
'port' => $port] = $this->servers[0];
88 foreach ($this->servers as $server)
107 $error = error_get_last();
108 if (isset(
$error[
"type"]) &&
$error[
"type"] === E_WARNING)
112 $exceptionHandler =
$application->getExceptionHandler();
113 $exceptionHandler->writeToLog($exception);