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