src/System/Console.php
public static function block($messages, $style)
    {
        if (is_string($messages)) {
            $messages = [$messages];
        }
        if (count($messages) > 0) {
            self::writeln(str_repeat(' ', self::$lineLength), $style);
            foreach ($messages as $message) {
                $message = ' ' . $message;
                while (strlen($message) < self::$lineLength) {
                    $message .= ' ';
                }
                self::writeln($message, $style);
            }
            self::writeln(str_repeat(' ', self::$lineLength), $style);
        }
    }
public static function block($messages, $style)
    {
        if (is_string($messages)) {
            $messages = [$messages];
        }
        if (count($messages) > 0) {
            self::writeln(str_repeat(' ', self::$lineLength), $style);
            foreach ($messages as $message) {
                $message = ' ' . $message;
                while (strlen($message) < self::$lineLength) {
                    $message .= ' ';
                }
                self::writeln($message, $style);
            }
            self::writeln(str_repeat(' ', self::$lineLength), $style);
        }
    }
Write block messages.

@param string|array $messages
@param string $style