1 backup.file.inc public BackupFile::getContents()

Read the entire contents of the file.

File

core/includes/backup/backup.file.inc, line 165
Contains the BackupFile class.

Class

BackupFile
Provides a utility object for reading and writing local backup files.

Code

public function getContents() {
  return file_get_contents($this->filePath());
}