You are here

public function ModuleFileWriter::__construct in Module Builder 8.3

Creates a ModuleFileWriter instance.

Parameters

\Drupal\Core\Extension\ModuleExtensionList $module_extension_list: The Module extension list service.

\Drupal\Core\File\FileSystemInterface $file_system: The File system service.

File

src/ModuleFileWriter.php, line 35

Class

ModuleFileWriter
Writes module files.

Namespace

Drupal\module_builder

Code

public function __construct(ModuleExtensionList $module_extension_list, FileSystemInterface $file_system) {
  $this->moduleExtensionList = $module_extension_list;
  $this->fileSystem = $file_system;
}