You are here

public function ToolbarController::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Controller/ToolbarController.php \Drupal\webprofiler\Controller\ToolbarController::__construct()
  2. 8.2 webprofiler/src/Controller/ToolbarController.php \Drupal\webprofiler\Controller\ToolbarController::__construct()
  3. 4.x webprofiler/src/Controller/ToolbarController.php \Drupal\webprofiler\Controller\ToolbarController::__construct()

Constructs a new WebprofilerController.

Parameters

\Drupal\webprofiler\Profiler\Profiler $profiler:

\Drupal\webprofiler\Profiler\TemplateManager $templateManager:

\Drupal\Core\Render\RendererInterface $renderer:

File

webprofiler/src/Controller/ToolbarController.php, line 54

Class

ToolbarController
Class ToolbarController

Namespace

Drupal\webprofiler\Controller

Code

public function __construct(Profiler $profiler, TemplateManager $templateManager, RendererInterface $renderer) {
  $this->profiler = $profiler;
  $this->templateManager = $templateManager;
  $this->renderer = $renderer;
}