/**
* Formats a message as a block of text.
*
* @return void
*/
public function block(string|array
$messages, string
$type = null, string
$style = null, string
$prefix = ' ', bool
$padding = false, bool
$escape = true
) { $messages = \
is_array($messages) ?
array_values($messages) :
[$messages];
$this->
autoPrependBlock();
$this->
writeln($this->
createBlock($messages,
$type,
$style,
$prefix,
$padding,
$escape));
$this->
newLine();
} /**
* @return void
*/
public function title(string
$message) { $this->
autoPrependBlock();
$this->
writeln([