function 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);
}