You are here

public function ServicesDataCollector::getInitializedServicesCount in Devel 8.2

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

Return value

int

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

File

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

Class

ServicesDataCollector
Class ServicesDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getInitializedServicesCount() {
  return count($this
    ->getInitializedServices());
}