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