class StreamFactory implements StreamFactoryInterface (View source)

Methods

StreamInterface
createStream(string $content = '')

No description

StreamInterface
createStreamFromFile(string $filename, string $mode = 'r')

No description

StreamInterface
createStreamFromResource($resource)

No description

Details

StreamInterface createStream(string $content = '')

No description

Parameters

string $content

Return Value

StreamInterface

StreamInterface createStreamFromFile(string $filename, string $mode = 'r')

No description

Parameters

string $filename
string $mode

Return Value

StreamInterface

StreamInterface createStreamFromResource($resource)

No description

Parameters

$resource

Return Value

StreamInterface