You are here

public function TempFileManagerInterface::create in Backup and Migrate 5.0.x

Create a brand new temp file with the given extension (if specified).

The new file should be writable.

Parameters

string $ext: The file extension for this file (optional)

Return value

\Drupal\backup_migrate\Core\File\BackupFileWritableInterface

1 method overrides TempFileManagerInterface::create()
TempFileManager::create in src/Core/File/TempFileManager.php
Create a brand new temp file with the given extension (if specified).

File

src/Core/File/TempFileManagerInterface.php, line 26

Class

TempFileManagerInterface
A TempFileManager is in charge of creating new temp files.

Namespace

Drupal\backup_migrate\Core\File

Code

public function create($ext = '');