You are here

public function HttpDataCollector::getCompletedRequestsCount in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/HttpDataCollector.php \Drupal\webprofiler\DataCollector\HttpDataCollector::getCompletedRequestsCount()
  2. 8.2 webprofiler/src/DataCollector/HttpDataCollector.php \Drupal\webprofiler\DataCollector\HttpDataCollector::getCompletedRequestsCount()
  3. 4.x webprofiler/src/DataCollector/HttpDataCollector.php \Drupal\webprofiler\DataCollector\HttpDataCollector::getCompletedRequestsCount()

Return value

int

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

File

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

Class

HttpDataCollector
Collects data about http calls during request.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getCompletedRequestsCount() {
  return count($this
    ->getCompletedRequests());
}