You are here

public function BackupFileWritableInterface::openForWrite in Backup and Migrate 8.4

Open a file for reading or writing.

Parameters

bool $binary If true open as a binary file:

1 method overrides BackupFileWritableInterface::openForWrite()
WritableStreamBackupFile::openForWrite in lib/backup_migrate_core/src/File/WritableStreamBackupFile.php
Open a file for reading or writing.

File

lib/backup_migrate_core/src/File/BackupFileWritableInterface.php, line 60

Class

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

Namespace

BackupMigrate\Core\File

Code

public function openForWrite($binary = FALSE);