public function BackupFileWritableInterface::writeAll in Backup and Migrate 8.4
A shorthand function to open the file, write the given contents and close the file. Used for small amounts of data that can fit in memory.
Parameters
string $data The contents to write.:
1 method overrides BackupFileWritableInterface::writeAll()
- WritableStreamBackupFile::writeAll in lib/
backup_migrate_core/ src/ File/ WritableStreamBackupFile.php - A shorthand function to open the file, write the given contents and close the file. Used for small amounts of data that can fit in memory.
File
- lib/
backup_migrate_core/ src/ File/ BackupFileWritableInterface.php, line 30
Class
- BackupFileWritableInterface
- Provides a service to provision temp files in the correct place for the environment.
Namespace
BackupMigrate\Core\FileCode
public function writeAll($data);