function ThemeDataCollector::getComputedData

Parameters

$index:

Return value

mixed

4 calls to ThemeDataCollector::getComputedData()
ThemeDataCollector::getBlockCount in webprofiler/src/DataCollector/ThemeDataCollector.php
ThemeDataCollector::getMacroCount in webprofiler/src/DataCollector/ThemeDataCollector.php
ThemeDataCollector::getTemplateCount in webprofiler/src/DataCollector/ThemeDataCollector.php
ThemeDataCollector::getTemplates in webprofiler/src/DataCollector/ThemeDataCollector.php

File

webprofiler/src/DataCollector/ThemeDataCollector.php, line 207

Class

ThemeDataCollector
Class ThemeDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

private function getComputedData($index) {
    if (NULL === $this->computed) {
        $this->computed = $this->computeData($this->getProfile());
    }
    return $this->computed[$index];
}