You are here

public function ModifiedFiles::__construct in Automatic Updates 8

Same name in this branch
  1. 8 src/ReadinessChecker/ModifiedFiles.php \Drupal\automatic_updates\ReadinessChecker\ModifiedFiles::__construct()
  2. 8 src/Services/ModifiedFiles.php \Drupal\automatic_updates\Services\ModifiedFiles::__construct()

ModifiedFiles constructor.

Parameters

\Drupal\automatic_updates\Services\ModifiedFilesInterface $modified_files: The modified files service. The config factory.

\Drupal\Core\Extension\ExtensionList $modules: The module extension list.

\Drupal\Core\Extension\ExtensionList $profiles: The profile extension list.

\Drupal\Core\Extension\ExtensionList $themes: The theme extension list.

File

src/ReadinessChecker/ModifiedFiles.php, line 66

Class

ModifiedFiles
Modified code checker.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

public function __construct(ModifiedFilesInterface $modified_files, ExtensionList $modules, ExtensionList $profiles, ExtensionList $themes) {
  $this->modifiedFiles = $modified_files;
  $this->module = $modules;
  $this->profile = $profiles;
  $this->theme = $themes;
}