function ServicesDataCollector::getInitializedServices

Return value

array

2 calls to ServicesDataCollector::getInitializedServices()
ServicesDataCollector::getInitializedServicesCount in webprofiler/src/DataCollector/ServicesDataCollector.php
ServicesDataCollector::getInitializedServicesWithoutWebprofiler in webprofiler/src/DataCollector/ServicesDataCollector.php

File

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

Class

ServicesDataCollector
Class ServicesDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getInitializedServices() {
    return array_filter($this->getServices(), function ($item) {
        return $item['initialized'];
    });
}