You are here

public function ReadOnlyFilesystem::__construct in Automatic Updates 8

ReadOnlyFilesystem constructor.

Parameters

string $app_root: The app root.

\Psr\Log\LoggerInterface $logger: The logger.

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

Overrides Filesystem::__construct

File

src/ReadinessChecker/ReadOnlyFilesystem.php, line 39

Class

ReadOnlyFilesystem
Read only filesystem checker.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

public function __construct($app_root, LoggerInterface $logger, FileSystemInterface $file_system) {
  parent::__construct($app_root);
  $this->logger = $logger;
  $this->fileSystem = $file_system;
}