You are here

public function ServicesDataCollector::getServicesCount in Devel 8.3

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

Return value

int

1 call to ServicesDataCollector::getServicesCount()
ServicesDataCollector::collect in webprofiler/src/DataCollector/ServicesDataCollector.php
Collects data for the given Request and Response.

File

webprofiler/src/DataCollector/ServicesDataCollector.php, line 68

Class

ServicesDataCollector
Class ServicesDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getServicesCount() {
  return count($this
    ->getServices());
}