public function ScanResultController::__construct in Upgrade Status 8
Same name and namespace in other branches
- 8.3 src/Controller/ScanResultController.php \Drupal\upgrade_status\Controller\ScanResultController::__construct()
- 8.2 src/Controller/ScanResultController.php \Drupal\upgrade_status\Controller\ScanResultController::__construct()
Constructs a \Drupal\upgrade_status\Controller\ScanResultController.
Parameters
\Drupal\upgrade_status\ScanResultFormatter $result_formatter: The scan result formatter service.
\Drupal\upgrade_status\ProjectCollectorInterface $project_collector: The project collector service.
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
File
- src/
Controller/ ScanResultController.php, line 46
Class
Namespace
Drupal\upgrade_status\ControllerCode
public function __construct(ScanResultFormatter $result_formatter, ProjectCollectorInterface $project_collector, RendererInterface $renderer) {
$this->resultFormatter = $result_formatter;
$this->projectCollector = $project_collector;
$this->renderer = $renderer;
}