Documentation

ChunkWriterFileCache
in package
implements ChunkWriterInterface, FileWriterInterface

Table of Contents

Interfaces

ChunkWriterInterface
FileWriterInterface

Methods

__construct()  : mixed
toChunks()  : Generator
Converts the object's held data to a Generator.
toFile()  : SplFileInfo
Converts the object's data to a file on disk.

Methods

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.

Return values
Generator

toFile()

Converts the object's data to a file on disk.

public toFile() : SplFileInfo

Subsequent calls are expected to return the same file object each time.

Return values
SplFileInfo

        
On this page

Search results