You are here

public function TempFileAdapterInterface::createTempFile in Backup and Migrate 8.4

Get a temporary file that can be written to.

Parameters

string $ext The file extension to add to the temp file.:

Return value

string The path to the file.

1 method overrides TempFileAdapterInterface::createTempFile()
TempFileAdapter::createTempFile in lib/backup_migrate_core/src/File/TempFileAdapter.php
Get a temporary file that can be written to.

File

lib/backup_migrate_core/src/File/TempFileAdapterInterface.php, line 17

Class

TempFileAdapterInterface
Provides a service to provision temp files in the correct place for the environment.

Namespace

BackupMigrate\Core\File

Code

public function createTempFile($ext = '');