GrumPHP\IO\ConsoleIO::doWrite PHP Method

doWrite() private method

private doWrite ( array $messages, boolean $newline, boolean $stderr )
$messages array
$newline boolean
$stderr boolean
    private function doWrite($messages, $newline, $stderr)
    {
        if (true === $stderr && $this->output instanceof ConsoleOutputInterface) {
            $this->output->getErrorOutput()->write($messages, $newline);
            return;
        }
        $this->output->write($messages, $newline);
    }