You are here

public static function LargeFileContent::withGigabytes in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

LargeFileContent

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\content

Code

public static function withGigabytes($gigabyte) {
  return self::withMegabytes($gigabyte * 1024);
}