public function isConnectionError($errorInfo) { return in_array($this->getErrorCode($errorInfo), $this->getConnectionErrorCodes()); }