public static function LargeFileContent::withKilobytes 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::withKilobytes()
create large file with given size in kilobyte
Parameters
int $kilobyte:
Return value
1 call to LargeFileContent::withKilobytes()
- LargeFileContent::withMegabytes in vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ content/ LargeFileContent.php - create large file with given size in megabyte
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ content/ LargeFileContent.php, line 56
Class
- LargeFileContent
- File content implementation to mock large files.
Namespace
org\bovigo\vfs\contentCode
public static function withKilobytes($kilobyte) {
return new self($kilobyte * 1024);
}