private function readPipesForOutput($caller, $blocking = false)
    {
        if ($this->outputDisabled) {
            throw new LogicException('Output has been disabled.');
        }

        $this->requireProcessIsStarted($caller);

        $this->updateStatus($blocking);
    }
private function readPipesForOutput($caller, $blocking = false)
    {
        if ($this->outputDisabled) {
            throw new LogicException('Output has been disabled.');
        }

        $this->requireProcessIsStarted($caller);

        $this->updateStatus($blocking);
    }
private function readPipesForOutput ( $ caller , $ blocking = false ) { if ( $ this -> outputDisabled ) { throw new LogicException ( 'Output has been disabled.' ) ; } $ this -> requireProcessIsStarted ( $ caller ) ; $ this -> updateStatus ( $ blocking ) ; }
Reads pipes for the freshest output.

@param string $caller   The name of the method that needs fresh outputs
@param bool   $blocking Whether to use blocking calls or not

@throws LogicException in case output has been disabled or process is not started
Reads pipes for the freshest output .