function ThemeDataCollector::__construct

Parameters

\Drupal\Core\Theme\ThemeManagerInterface $themeManager:

\Drupal\Core\Theme\ThemeNegotiatorInterface $themeNegotiator:

\Twig_Profiler_Profile $profile:

File

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

Class

ThemeDataCollector
Class ThemeDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function __construct(ThemeManagerInterface $themeManager, ThemeNegotiatorInterface $themeNegotiator, \Twig_Profiler_Profile $profile) {
    $this->themeManager = $themeManager;
    $this->themeNegotiator = $themeNegotiator;
    $this->profile = $profile;
}