You are here

public function TrustedHosts::__construct in Security Review 8

Initializes the configuration storage and the settings handler.

Overrides Check::__construct

File

src/Checks/TrustedHosts.php, line 19

Class

TrustedHosts
Checks for base_url and trusted_host_patterns settings in settings.php.

Namespace

Drupal\security_review\Checks

Code

public function __construct() {
  parent::__construct();
  $this->settings = new TrustedHostSettings($this, $this->config);
}