ChunkWriterFromFileWriter
in package
implements
ChunkWriterInterface
FinalYes
Table of Contents
Interfaces
Methods
- __construct() : mixed
- toChunks() : Generator
- Converts the object's held data to a Generator.
Methods
__construct()
public
__construct(FileWriterInterface $source[, int $chunkSize = Memory::ONE_KILOBYTE ]) : mixed
Parameters
- $source : FileWriterInterface
- $chunkSize : int = Memory::ONE_KILOBYTE
toChunks()
Converts the object's held data to a Generator.
public
toChunks() : Generator
Subsequent calls are expected to create a new Generator object each time.