public function DashboardController::__construct in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Controller/DashboardController.php \Drupal\webprofiler\Controller\DashboardController::__construct()
- 8.2 webprofiler/src/Controller/DashboardController.php \Drupal\webprofiler\Controller\DashboardController::__construct()
- 4.x webprofiler/src/Controller/DashboardController.php \Drupal\webprofiler\Controller\DashboardController::__construct()
Constructs a new WebprofilerController.
Parameters
\Drupal\webprofiler\Profiler\Profiler $profiler:
\Symfony\Component\Routing\RouterInterface $router:
\Drupal\webprofiler\Profiler\TemplateManager $templateManager:
\Drupal\Core\Datetime\DateFormatter $date:
\Drupal\webprofiler\Profiler\ProfilerStorageManager $storageManager:
File
- webprofiler/
src/ Controller/ DashboardController.php, line 70
Class
- DashboardController
- Class DashboardController
Namespace
Drupal\webprofiler\ControllerCode
public function __construct(Profiler $profiler, RouterInterface $router, TemplateManager $templateManager, DateFormatter $date, ProfilerStorageManager $storageManager) {
$this->profiler = $profiler;
$this->router = $router;
$this->templateManager = $templateManager;
$this->date = $date;
$this->storageManager = $storageManager;
}