Methods |
public
|
write(string|iterable $messages, bool $newline = false, int $options = 0): void
Writes a message to the output.
Writes a message to the output.
Parameters
$newline |
Whether to add a newline
|
$options |
A bitmask of options (one of the OUTPUT or VERBOSITY constants),
0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
|
Implemented by
|
#
|
public
|
writeln(string|iterable $messages, int $options = 0): 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
$options |
A bitmask of options (one of the OUTPUT or VERBOSITY constants),
0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
|
Implemented by
|
#
|
public
|
setVerbosity(self::VERBOSITY_* $level): void
Sets the verbosity of the output.
Sets the verbosity of the output.
Implemented by
|
#
|
public
|
getVerbosity(): self::VERBOSITY_*
Gets the current verbosity of the output.
Gets the current verbosity of the output.
Implemented by
|
#
|
public
|
isQuiet(): bool
Returns whether verbosity is quiet (-q).
Returns whether verbosity is quiet (-q).
Implemented by
|
#
|
public
|
isVerbose(): bool
Returns whether verbosity is verbose (-v).
Returns whether verbosity is verbose (-v).
Implemented by
|
#
|
public
|
isVeryVerbose(): bool
Returns whether verbosity is very verbose (-vv).
Returns whether verbosity is very verbose (-vv).
Implemented by
|
#
|
public
|
isDebug(): bool
Returns whether verbosity is debug (-vvv).
Returns whether verbosity is debug (-vvv).
Implemented by
|
#
|
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.
Implemented by
|
#
|