class NullOutput implements OutputInterface
NullOutput suppresses all output.
$output = new NullOutput();
Methods
|
setFormatter(OutputFormatterInterface $formatter)
Sets output formatter. |
||
| OutputFormatterInterface |
getFormatter()
Returns current output formatter instance. |
|
|
setDecorated(Boolean $decorated)
Sets the decorated flag. |
||
| Boolean |
isDecorated()
Gets the decorated flag. |
|
|
setVerbosity(integer $level)
Sets the verbosity of the output. |
||
| integer |
getVerbosity()
Gets the current verbosity of the output. |
|
|
writeln(string|array $messages, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output and adds a newline at the end. |
||
|
write(string|array $messages, Boolean $newline = false, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output. |
Details
at line 32
public
setFormatter(OutputFormatterInterface $formatter)
Sets output formatter.
at line 40
public OutputFormatterInterface
getFormatter()
Returns current output formatter instance.
at line 49
public
setDecorated(Boolean $decorated)
Sets the decorated flag.
at line 57
public Boolean
isDecorated()
Gets the decorated flag.
at line 65
public
setVerbosity(integer $level)
Sets the verbosity of the output.
at line 73
public integer
getVerbosity()
Gets the current verbosity of the output.
at line 81
public
writeln(string|array $messages, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output and adds a newline at the end.
at line 89
public
write(string|array $messages, Boolean $newline = false, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output.