src/Output.php
protected function getDecoratedMessage($message, $params = [])
    {
        $result = '';
        $prefix = '';
        foreach ($params as $option => $value) {
            if ($value) {
                $result .= $prefix . $this->decorations[$option][$value];
                $prefix = ';';
            }
        }

        if ($prefix) {
            $message = 'm' . $message;
        }

        return $result . $message;
    }
protected function getDecoratedMessage($message, $params = [])
    {
        $result = '';
        $prefix = '';
        foreach ($params as $option => $value) {
            if ($value) {
                $result .= $prefix . $this->decorations[$option][$value];
                $prefix = ';';
            }
        }

        if ($prefix) {
            $message = 'm' . $message;
        }

        return $result . $message;
    }
protected function getDecoratedMessage ( $ message , $ params = [ ] ) { $ result = '' ; $ prefix = '' ; foreach ( $ params as $ option => $ value ) { if ( $ value ) { $ result .= $ prefix . $ this -> decorations [ $ option ] [ $ value ] ; $ prefix = ';' ; } } if ( $ prefix ) { $ message = 'm' . $ message ; } return $ result . $ message ; }
Gets a decorated version of the message.

@param  string $message The message to output.
@param  array $params An array of options for outputting the message.

@return string The decorated message.
Gets a decorated version of the message .