You are here

public function CleanFilesCommand::__construct in Tome 8

Creates a CleanFilesCommand object.

Parameters

\Drupal\Core\Config\StorageInterface $content_storage: The target content storage.

\Drupal\Core\Config\StorageInterface $config_storage: The target config storage.

\Drupal\tome_sync\FileSyncInterface $file_sync: The file sync service.

File

modules/tome_sync/src/Commands/CleanFilesCommand.php, line 63

Class

CleanFilesCommand
Contains the tome:clean-files command.

Namespace

Drupal\tome_sync\Commands

Code

public function __construct(StorageInterface $content_storage, StorageInterface $config_storage, FileSyncInterface $file_sync) {
  parent::__construct();
  $this->contentStorage = $content_storage;
  $this->configStorage = $config_storage;
  $this->fileSync = $file_sync;
}