StdioInput
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.
at line 32
void
close()
Close input after queued messages have drained.
at line 40
string
current()
Return the currently queued message.
at line 49
void
next()
Remove the message handed to the process pipe buffer.
at line 57
int
key()
Return the queue head's position.
at line 65
bool
valid()
Keep input available until closed and drained.
at line 73
void
rewind()
Preserve the queue when the process begins reading.