You are here

public function TempFileManager::__construct in Backup and Migrate 5.0.x

Build the manager with the given adapter.

This manager needs the adapter to create the actual temp files.

Parameters

\Drupal\backup_migrate\Core\File\TempFileAdapterInterface $adapter:

File

src/Core/File/TempFileManager.php, line 24

Class

TempFileManager
@package Drupal\backup_migrate\Core\Services

Namespace

Drupal\backup_migrate\Core\File

Code

public function __construct(TempFileAdapterInterface $adapter) {
  $this->adapter = $adapter;
}