Base class for output classes.
There are six 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 (only output errors)
- silent: --silent (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 isSilent() : bool |
| public isVerbose() : bool |
| public isVeryVerbose() : bool |
| public setDecorated(bool $decorated) : void |
| public setFormatter(Symfony |
| public setVerbosity(int $level) : void |
| public write(Traversable|array|string $messages, bool $newline = false, int $options = 1self::OUTPUT_NORMAL) : void |
| public writeln(Traversable|array|string $messages, int $options = 1self::OUTPUT_NORMAL) : void |
| Methods |
| protected abstract doWrite(string $message, bool $newline) : void Writes a message to the output. |
| Properties |
| private Symfony |
| private int $verbosity |