function ServicesDataCollector::getInitializedServicesWithoutWebprofiler

Return value

array

1 call to ServicesDataCollector::getInitializedServicesWithoutWebprofiler()
ServicesDataCollector::getInitializedServicesWithoutWebprofilerCount in webprofiler/src/DataCollector/ServicesDataCollector.php

File

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

Class

ServicesDataCollector
Class ServicesDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getInitializedServicesWithoutWebprofiler() {
    return array_filter($this->getInitializedServices(), function ($item) {
        return strpos($item['value']['id'], 'webprofiler') !== 0;
    });
}