ConsoleOutputInterface
interface ConsoleOutputInterface implements OutputInterface
ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
This adds information about stderr output stream.
Methods
write(string|array $messages, Boolean $newline = false, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output.
from OutputInterface
writeln(string|array $messages, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output and adds a newline at the end.
from OutputInterface
getFormatter()
Returns current output formatter instance.
from OutputInterface
getErrorOutput()
Gets the OutputInterface for errors.
Details
in OutputInterface at line line 46
write(string|array $messages, Boolean $newline = false, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output.
in OutputInterface at line line 58
writeln(string|array $messages, integer $type = self::OUTPUT_NORMAL)
Writes a message to the output and adds a newline at the end.
in OutputInterface at line line 67
setVerbosity(integer $level)
Sets the verbosity of the output.
in OutputInterface at line line 76
integer
getVerbosity()
Gets the current verbosity of the output.
in OutputInterface at line line 85
setDecorated(Boolean $decorated)
Sets the decorated flag.
in OutputInterface at line line 94
Boolean
isDecorated()
Gets the decorated flag.
in OutputInterface at line line 103
setFormatter(OutputFormatterInterface $formatter)
Sets output formatter.
in OutputInterface at line line 112
OutputFormatterInterface
getFormatter()
Returns current output formatter instance.
at line line 27
OutputInterface
getErrorOutput()
Gets the OutputInterface for errors.
at line line 34
setErrorOutput(OutputInterface $error)
Sets the OutputInterface used for errors.