public function ToolbarController::__construct in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Controller/ToolbarController.php \Drupal\webprofiler\Controller\ToolbarController::__construct()
- 8.2 webprofiler/src/Controller/ToolbarController.php \Drupal\webprofiler\Controller\ToolbarController::__construct()
- 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\ControllerCode
public function __construct(Profiler $profiler, TemplateManager $templateManager, RendererInterface $renderer) {
$this->profiler = $profiler;
$this->templateManager = $templateManager;
$this->renderer = $renderer;
}