public function writeReturnValue($ret)
    {
        $this->lastExecSuccess = true;

        if ($ret instanceof NoReturnValue) {
            return;
        }

        $this->context->setReturnValue($ret);
        $ret    = $this->presentValue($ret);
        $indent = \str_repeat(' ', \strlen(static::RETVAL));

        $this->output->writeln(static::RETVAL . \str_replace(PHP_EOL, PHP_EOL . $indent, $ret));
    }
public function writeReturnValue($ret)
    {
        $this->lastExecSuccess = true;

        if ($ret instanceof NoReturnValue) {
            return;
        }

        $this->context->setReturnValue($ret);
        $ret    = $this->presentValue($ret);
        $indent = \str_repeat(' ', \strlen(static::RETVAL));

        $this->output->writeln(static::RETVAL . \str_replace(PHP_EOL, PHP_EOL . $indent, $ret));
    }
public function writeReturnValue ( $ ret ) { $ this -> lastExecSuccess = true ; if ( $ ret instanceof NoReturnValue ) { return ; } $ this -> context -> setReturnValue ( $ ret ) ; $ ret = $ this -> presentValue ( $ ret ) ; $ indent = \ str_repeat ( ' ' , \ strlen ( static :: RETVAL ) ) ; $ this -> output -> writeln ( static :: RETVAL . \ str_replace ( PHP_EOL , PHP_EOL . $ indent , $ ret ) ) ; }
Write a return value to stdout.

The return value is formatted or pretty-printed, and rendered in a
visibly distinct manner (in this case, as cyan).

@see self::presentValue

@param mixed $ret
Write a return value to stdout .