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
Abstract
Constants |
Methods |
public __construct(?int $verbosity = 32self::VERBOSITY_NORMAL, bool $decorated = false, ?Symfony
|
public getFormatter() : Symfony |
public getVerbosity() : int |
public isDebug() : bool |
public isDecorated() : bool |
public isQuiet() : bool |
public isVerbose() : bool |
public isVeryVerbose() : bool |
public setDecorated(bool $decorated)
|
public setFormatter(Symfony
|
public setVerbosity(int $level)
|
public write(Traversable|array|string $messages, bool $newline = false, int $options = 1self::OUTPUT_NORMAL)
|
public writeln(Traversable|array|string $messages, int $options = 1self::OUTPUT_NORMAL)
|
Methods |
protected abstract doWrite(string $message, bool $newline) Writes a message to the output.
|
Properties |
private Symfony |
private int $verbosity |