public function BackupFileWritableInterface::openForWrite in Backup and Migrate 5.0.x
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 src/
Core/ File/ WritableStreamBackupFile.php - Open a file for reading or writing.
File
- src/
Core/ File/ BackupFileWritableInterface.php, line 70
Class
- BackupFileWritableInterface
- A service to provision temp files in the correct place for the environment.
Namespace
Drupal\backup_migrate\Core\FileCode
public function openForWrite($binary = FALSE);