You are here

public function BackupFileReadableInterface::openForRead 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 BackupFileReadableInterface::openForRead()
ReadableStreamBackupFile::openForRead in lib/backup_migrate_core/src/File/ReadableStreamBackupFile.php
Open a file for reading or writing.

File

lib/backup_migrate_core/src/File/BackupFileReadableInterface.php, line 45

Class

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

Namespace

BackupMigrate\Core\File

Code

public function openForRead($binary = FALSE);