public function HttpDataCollector::getFailedRequestsCount in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/HttpDataCollector.php \Drupal\webprofiler\DataCollector\HttpDataCollector::getFailedRequestsCount()
- 8.2 webprofiler/src/DataCollector/HttpDataCollector.php \Drupal\webprofiler\DataCollector\HttpDataCollector::getFailedRequestsCount()
- 4.x webprofiler/src/DataCollector/HttpDataCollector.php \Drupal\webprofiler\DataCollector\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\DataCollectorCode
public function getFailedRequestsCount() {
return count($this
->getFailedRequests());
}