Symfony\Component\Console\Output\Output
Base class for output classes.
There are five levels of verbosity:
* normal: no option passed (normal output)
* verbose: -v (more output)
* very verbose: -vv (highly extended output)
* debug: -vvv (all debug output)
* quiet: -q (no output)
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Output
implements
OutputInterface
{
- // members
- private $verbosity;
- private $formatter;
- // methods
- public void __construct()
- public void setFormatter()
- public void getFormatter()
- public void setDecorated()
- public void isDecorated()
- public void setVerbosity()
- public void getVerbosity()
- public void writeln()
- public void write()
- protected abstract void doWrite()
Hierarchy
Extended by
Implements
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 |
Members
private
- $formatter
- $verbosity
Methods
protected
- doWrite() — Writes a message to the output.
public
- __construct() — Constructor.
- getFormatter() — {@inheritdoc}
- getVerbosity() — {@inheritdoc}
- isDecorated() — {@inheritdoc}
- setDecorated() — {@inheritdoc}
- setFormatter() — {@inheritdoc}
- setVerbosity() — {@inheritdoc}
- write() — {@inheritdoc}
- writeln() — {@inheritdoc}