Copied!

NullOutput suppresses all output.

$output = new NullOutput();

CloneableInstantiable
Constants
public Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL = 1
public Symfony\Component\Console\Output\OutputInterface::OUTPUT_PLAIN = 4
public Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW = 2
public Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG = 256
public Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL = 32
public Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET = 16
public Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE = 64
public Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE = 128
Methods
public getFormatter() : Symfony\Component\Console\Formatter\OutputFormatterInterface
public getVerbosity() : int
public isDebug() : bool
public isDecorated() : bool
public isQuiet() : bool
public isVerbose() : bool
public isVeryVerbose() : bool
public setDecorated(bool $decorated) : void
public setFormatter(Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) : void
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
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration