$output
$output :
Decorates output to add console style guide helpers.
__construct(\Symfony\Component\Console\Output\OutputInterface $output)
\Symfony\Component\Console\Output\OutputInterface | $output |
write(string|\Symfony\Component\Console\Output\iterable $messages, boolean $newline = false, $type = self::OUTPUT_NORMAL)
Writes a message to the output.
string|\Symfony\Component\Console\Output\iterable | $messages | The message as an iterable of strings or a single string |
boolean | $newline | Whether to add a newline |
$type |
writeln(string|\Symfony\Component\Console\Output\iterable $messages, $type = self::OUTPUT_NORMAL)
Writes a message to the output and adds a newline at the end.
string|\Symfony\Component\Console\Output\iterable | $messages | The message as an iterable of strings or a single string |
$type |
setFormatter(\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
\Symfony\Component\Console\Formatter\OutputFormatterInterface | $formatter |
getFormatter() : \Symfony\Component\Console\Formatter\OutputFormatterInterface
Returns current output formatter instance.