src/Cornford/Backup/BackupFilesystem.php
public function writeCompressedFile($compressedFilepath, $filepath)
	{
		$filePointer = fopen($compressedFilepath, 'w');
		fwrite($filePointer, gzencode(file_get_contents($filepath), 9));
		fclose($filePointer);
	}
public function writeCompressedFile($compressedFilepath, $filepath)
	{
		$filePointer = fopen($compressedFilepath, 'w');
		fwrite($filePointer, gzencode(file_get_contents($filepath), 9));
		fclose($filePointer);
	}
public function writeCompressedFile ( $ compressedFilepath , $ filepath ) { $ filePointer = fopen ( $ compressedFilepath , 'w' ) ; fwrite ( $ filePointer , gzencode ( file_get_contents ( $ filepath ) , 9 ) ) ; fclose ( $ filePointer ) ; }
Write a compressed file.

@param string $compressedFilepath
@param string $filepath

@return void
Write a compressed file .