You are here

public function ExecutablePhp::__construct in Security Review 8

Initializes the configuration storage and the settings handler.

Overrides Check::__construct

File

src/Checks/ExecutablePhp.php, line 26

Class

ExecutablePhp
Checks if PHP files written to the files directory can be executed.

Namespace

Drupal\security_review\Checks

Code

public function __construct() {
  parent::__construct();
  $this->httpClient = $this->container
    ->get('http_client');
}