public function ReadableStreamBackupFile::isOpen in Backup and Migrate 5.0.x
Is this file open for reading/writing.
Return value
bool True if the file is open, false if not.
9 calls to ReadableStreamBackupFile::isOpen()
- ReadableStreamBackupFile::close in src/
Core/ File/ ReadableStreamBackupFile.php - Close a file when we're done reading/writing.
- ReadableStreamBackupFile::openForRead in src/
Core/ File/ ReadableStreamBackupFile.php - Open a file for reading or writing.
- ReadableStreamBackupFile::readAll in src/
Core/ File/ ReadableStreamBackupFile.php - Read a line from the file.
- ReadableStreamBackupFile::readBytes in src/
Core/ File/ ReadableStreamBackupFile.php - Read a line from the file.
- ReadableStreamBackupFile::readLine in src/
Core/ File/ ReadableStreamBackupFile.php - Read a single line from the file.
File
- src/
Core/ File/ ReadableStreamBackupFile.php, line 114
Class
- ReadableStreamBackupFile
- Uses a readable PHP stream such as a local file.
Namespace
Drupal\backup_migrate\Core\FileCode
public function isOpen() {
return !empty($this->handle) && get_resource_type($this->handle) == 'stream';
}