function DatabaseController::__construct
Constructs a new WebprofilerController.
Parameters
\Symfony\Component\HttpKernel\Profiler\Profiler $profiler:
\Drupal\Core\Database\Connection $database:
File
-
webprofiler/
src/ Controller/ DatabaseController.php, line 45
Class
- DatabaseController
- Class DatabaseController
Namespace
Drupal\webprofiler\ControllerCode
public function __construct(Profiler $profiler, Connection $database) {
$this->profiler = $profiler;
$this->database = $database;
}