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);
        }
    }