Documentation

NullStreamBuilder
in package
implements StreamBuilderStrategyInterface

Interfaces, Classes and Traits

StreamBuilderStrategyInterface

Table of Contents

buildChunkWriter()  : ChunkWriterInterface
Create a chunk writer for this result.
buildDOMWriter()  : DOMWriterInterface
Create a DOM writer for this result.
buildFileWriter()  : FileWriterInterface
Create a file writer for this result.
buildStreamCharset()  : string
Determine the character set of this result
buildStreamFileName()  : string
Determine the filename of this result.
buildStreamFileStatistics()  : array<string|int, mixed>
Determine all available stats of this resource, as a call to stat() would.
buildStreamHash()  : string
Determine a hash for this resource, or the empty string if undeterminable
buildStreamIsBufferable()  : bool
Determine whether or not intermediate filters are allowed to buffer this result, or should always flush immediately.
buildStreamMimeType()  : string
Determine the mime type of this result.
buildStreamWriter()  : StreamWriterInterface
Create a stream writer for this result.
buildStringWriter()  : StringWriterInterface

Methods

buildStreamCharset()

Determine the character set of this result

public buildStreamCharset(ResultInterface $context) : string
Parameters
$context : ResultInterface
Return values
string

A valid character, or the empty string if not applicable.

buildStreamFileStatistics()

Determine all available stats of this resource, as a call to stat() would.

public buildStreamFileStatistics(ResultInterface $context) : array<string|int, mixed>
Parameters
$context : ResultInterface
Return values
array<string|int, mixed>

buildStreamIsBufferable()

Determine whether or not intermediate filters are allowed to buffer this result, or should always flush immediately.

public buildStreamIsBufferable(ResultInterface $context) : bool
Parameters
$context : ResultInterface
Return values
bool

Search results