public function HelpController::__construct in Security Review 8
Constructs a HelpController.
Parameters
\Drupal\security_review\SecurityReview $security_review: The security_review service.
\Drupal\security_review\Checklist $checklist: The security_review.checklist service.
\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date.formatter service.
File
- src/
Controller/ HelpController.php, line 50
Class
- HelpController
- The class of the Help pages' controller.
Namespace
Drupal\security_review\ControllerCode
public function __construct(SecurityReview $security_review, Checklist $checklist, DateFormatterInterface $dateFormatter) {
// Store the dependencies.
$this->checklist = $checklist;
$this->securityReview = $security_review;
$this->dateFormatter = $dateFormatter;
}