class ChunkedFileStreamPump

When invoked repeadetly, subsequently returns the content of storage request file chunks. This is meant to be used together with a \GuzzleHttp\Psr7\PumpStream.

Properties

int $currentChunk

Index of the current chunk to return for the stream.

$disk

Storage disk to read chunks from.

string $path

Base path of the storage request file.

$buffer

Methods

__construct(StorageRequestFile $file)

No description

__destruct()

No description

__invoke($length)

No description

Details

at line 31
__construct(StorageRequestFile $file)

No description

Parameters

StorageRequestFile $file

at line 39
__destruct()

No description

at line 44
__invoke($length)

No description

Parameters

$length