Methods |
public
|
__construct(OutputInterface $output)
|
#
|
public
|
newLine(int $count = 1): void
|
#
|
public
|
createProgressBar(int $max = 0): ProgressBar
|
#
|
public
|
write(string|iterable $messages, bool $newline = false, int $type = self::OUTPUT_NORMAL): void
Writes a message to the output.
Writes a message to the output.
Parameters
$newline |
Whether to add a newline
|
$type |
A bitmask of options (one of the OUTPUT or VERBOSITY constants),
0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
|
Implements
|
#
|
public
|
writeln(string|iterable $messages, int $type = self::OUTPUT_NORMAL): void
Writes a message to the output and adds a newline at the end.
Writes a message to the output and adds a newline at the end.
Parameters
$type |
A bitmask of options (one of the OUTPUT or VERBOSITY constants),
0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
|
Implements
|
#
|
public
|
setVerbosity(int $level): void
Sets the verbosity of the output.
Sets the verbosity of the output.
Implements
|
#
|
public
|
getVerbosity(): int
Gets the current verbosity of the output.
Gets the current verbosity of the output.
Implements
|
#
|
public
|
setDecorated(bool $decorated): void
|
#
|
public
|
isDecorated(): bool
|
#
|
public
|
setFormatter(OutputFormatterInterface $formatter): void
|
#
|
public
|
getFormatter(): OutputFormatterInterface
Returns current output formatter instance.
Returns current output formatter instance.
Implements
|
#
|
public
|
isQuiet(): bool
Returns whether verbosity is quiet (-q).
Returns whether verbosity is quiet (-q).
Implements
|
#
|
public
|
isVerbose(): bool
Returns whether verbosity is verbose (-v).
Returns whether verbosity is verbose (-v).
Implements
|
#
|
public
|
isVeryVerbose(): bool
Returns whether verbosity is very verbose (-vv).
Returns whether verbosity is very verbose (-vv).
Implements
|
#
|
public
|
isDebug(): bool
Returns whether verbosity is debug (-vvv).
Returns whether verbosity is debug (-vvv).
Implements
|
#
|
protected
|
getErrorOutput(): OutputInterface
|
#
|