You are here

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

File

src/Core/File/BackupFileReadableInterface.php, line 52

Class

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

Namespace

Drupal\backup_migrate\Core\File

Code

public function openForRead($binary = FALSE);