You are here

public function FileSync::__construct in Tome 8

Creates an FileSync object.

Parameters

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

File

modules/tome_sync/src/FileSync.php, line 35

Class

FileSync
Handles file import and exports by keeping a file export directory in sync.

Namespace

Drupal\tome_sync

Code

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