Symfony\Component\Console\Output\ConsoleOutputInterface
ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
This adds information about stderr output stream.
- Author: Dariusz Górecki <darek.krk@gmail.com>
Synopsis
interface ConsoleOutputInterface
extends OutputInterface
{
- // Inherited constants from OutputInterface
- const VERBOSITY_QUIET = 0;
- const VERBOSITY_NORMAL = 1;
- const VERBOSITY_VERBOSE = 2;
- const VERBOSITY_VERY_VERBOSE = 3;
- const VERBOSITY_DEBUG = 4;
- const OUTPUT_NORMAL = 0;
- const OUTPUT_RAW = 1;
- const OUTPUT_PLAIN = 2;
- // methods
- public OutputInterface getErrorOutput()
- public void setErrorOutput()
- // Inherited methods from OutputInterface
- public void write()
- public void writeln()
- public void setVerbosity()
- public integer getVerbosity()
- public void setDecorated()
- public Boolean isDecorated()
- public void setFormatter()
- public OutputFormatterInterface getFormatter()
Hierarchy
Extends
Implemented by
Constants
Name | Value |
---|---|
VERBOSITY_QUIET | 0 |
VERBOSITY_NORMAL | 1 |
VERBOSITY_VERBOSE | 2 |
VERBOSITY_VERY_VERBOSE | 3 |
VERBOSITY_DEBUG | 4 |
OUTPUT_NORMAL | 0 |
OUTPUT_RAW | 1 |
OUTPUT_PLAIN | 2 |
Methods
public
- getErrorOutput() — Gets the OutputInterface for errors.
- setErrorOutput() — Sets the OutputInterface used for errors.
Inherited from Symfony\Component\Console\Output\OutputInterface
public
- getFormatter() — Returns current output formatter instance.
- getVerbosity() — Gets the current verbosity of the output.
- isDecorated() — Gets the decorated flag.
- setDecorated() — Sets the decorated flag.
- setFormatter() — Sets output formatter.
- setVerbosity() — Sets the verbosity of the output.
- write() — Writes a message to the output.
- writeln() — Writes a message to the output and adds a newline at the end.