public getStdOut ( ) : ReadableStream | ||
return | ReadableStream |
public function getStdOut() : ReadableStream
{
if (null === $this->stdout) {
throw new StatusError('The process has not been started.');
}
return $this->stdout;
}
/** * {@inheritdoc} */ public function start() { $this->process->start(); $this->channel = new Channel($this->process->getStdOut(), $this->process->getStdIn()); }