Options
FinalYes
Constants
- DEFAULT_BLOCK_SIZE : int = 16 * \Flow\Filesystem\SizeUnits::MiB_SIZE
- DEFAULT_READ_CHUNK_SIZE : int = \Flow\Filesystem\SizeUnits::MiB_SIZE
Methods
- __construct() : mixed
- blockFactory() : BlockFactory
- blockSize() : int<1, max>
- readChunkSize() : int<1, max>
- tmpDir() : Path
- withBlockFactory() : self
- withBlockSize() : self
- withReadChunkSize() : self
- withTmpDir() : self
Constants
DEFAULT_BLOCK_SIZE
public
int
DEFAULT_BLOCK_SIZE
= 16 * \Flow\Filesystem\SizeUnits::MiB_SIZE
DEFAULT_READ_CHUNK_SIZE
public
int
DEFAULT_READ_CHUNK_SIZE
= \Flow\Filesystem\SizeUnits::MiB_SIZE
Methods
__construct()
public
__construct() : mixed
blockFactory()
public
blockFactory() : BlockFactory
Return values
BlockFactoryblockSize()
public
blockSize() : int<1, max>
Return values
int<1, max>readChunkSize()
public
readChunkSize() : int<1, max>
Return values
int<1, max>tmpDir()
public
tmpDir() : Path
Return values
PathwithBlockFactory()
public
withBlockFactory(BlockFactory $blockFactory) : self
Parameters
- $blockFactory : BlockFactory
Return values
selfwithBlockSize()
public
withBlockSize(int $bytes) : self
Parameters
- $bytes : int
Return values
selfwithReadChunkSize()
public
withReadChunkSize(int $bytes) : self
Parameters
- $bytes : int
Return values
selfwithTmpDir()
public
withTmpDir(Path $tmpDir) : self
Parameters
- $tmpDir : Path