You are here

public function FileSystemBackendFactory::__construct in File Cache 8

Constructs a FileSystemBackendFactory object.

Parameters

\Drupal\Core\File\FileSystemInterface $fileSystem: The service for interacting with the file system.

\Drupal\Core\Site\Settings $settings: The environment specific settings.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

\Drupal\Core\Cache\CacheTagsChecksumInterface $checksumProvider: The cache tags checksum provider.

File

src/Cache/FileSystemBackendFactory.php, line 56

Class

FileSystemBackendFactory
Factory for creating FileSystemBackend cache backends.

Namespace

Drupal\filecache\Cache

Code

public function __construct(FileSystemInterface $fileSystem, Settings $settings, TimeInterface $time, CacheTagsChecksumInterface $checksumProvider) {
  $this->fileSystem = $fileSystem;
  $this->settings = $settings;
  $this->time = $time;
  $this->checksumProvider = $checksumProvider;
}