public static function LargeFileContent::withGigabytes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/content/LargeFileContent.php \org\bovigo\vfs\content\LargeFileContent::withGigabytes()
create large file with given size in gigabyte
Parameters
int $gigabyte:
Return value
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ content/ LargeFileContent.php, line 78
Class
- LargeFileContent
- File content implementation to mock large files.
Namespace
org\bovigo\vfs\contentCode
public static function withGigabytes($gigabyte) {
return self::withMegabytes($gigabyte * 1024);
}