function HttpDataCollector::getFailedRequestsCount

Return value

int

1 call to HttpDataCollector::getFailedRequestsCount()
HttpDataCollector::getPanelSummary in webprofiler/src/DataCollector/HttpDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/HttpDataCollector.php, line 132

Class

HttpDataCollector
Collects data about http calls during request.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getFailedRequestsCount() {
    return count($this->getFailedRequests());
}