class StdioInput implements Iterator, Transient

internal  
 

Methods

void
write(string $message)

Queue a message for the subprocess.

void
close()

Close input after queued messages have drained.

string
current()

Return the currently queued message.

void
next()

Remove the message handed to the process pipe buffer.

int
key()

Return the queue head's position.

bool
valid()

Keep input available until closed and drained.

void
rewind()

Preserve the queue when the process begins reading.

Details

at line 24
void write(string $message)

Queue a message for the subprocess.

Parameters

string $message

Return Value

void

at line 32
void close()

Close input after queued messages have drained.

Return Value

void

at line 40
string current()

Return the currently queued message.

Return Value

string

at line 49
void next()

Remove the message handed to the process pipe buffer.

Return Value

void

at line 57
int key()

Return the queue head's position.

Return Value

int

at line 65
bool valid()

Keep input available until closed and drained.

Return Value

bool

at line 73
void rewind()

Preserve the queue when the process begins reading.

Return Value

void