interface StreamableInputInterface implementsInputInterface

StreamableInputInterface is the interface implemented by all input classes that have an input stream.

Methods

void
setStream(resource$stream)

Sets the input stream to read from when interacting with the user.

resource|null
getStream()

Returns the input stream.

Details

void setStream(resource$stream)

Sets the input stream to read from when interacting with the user.

This is mainly useful for testing purpose.

Parameters

resource $stream The input stream

Return Value

void

resource|null getStream()

Returns the input stream.

Return Value

resource|null