private function ThemeDataCollector::getProfile in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::getProfile()
- 8 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::getProfile()
- 4.x webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::getProfile()
Return value
mixed|\Twig_Profiler_Profile
2 calls to ThemeDataCollector::getProfile()
- ThemeDataCollector::getComputedData in webprofiler/
src/ DataCollector/ ThemeDataCollector.php - ThemeDataCollector::getHtmlCallGraph in webprofiler/
src/ DataCollector/ ThemeDataCollector.php
File
- webprofiler/
src/ DataCollector/ ThemeDataCollector.php, line 194
Class
- ThemeDataCollector
- Class ThemeDataCollector
Namespace
Drupal\webprofiler\DataCollectorCode
private function getProfile() {
if (NULL === $this->profile) {
$this->profile = unserialize($this->data['twig']);
}
return $this->profile;
}