Interface Symfony\Component\Console\Output\ConsoleOutputInterface

ExtendsSymfony\Component\Console\Output\OutputInterface
Implemented bySymfony\Component\Console\Output\ConsoleOutput

ConsoleOutputInterface is the interface implemented by ConsoleOutput class.

This adds information about stderr output stream.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getErrorOutput() Gets the OutputInterface for errors. Symfony\Component\Console\Output\ConsoleOutputInterface
getFormatter() Returns current output formatter instance. Symfony\Component\Console\Output\OutputInterface
getVerbosity() Gets the current verbosity of the output. Symfony\Component\Console\Output\OutputInterface
isDebug() Returns whether verbosity is debug (-vvv). Symfony\Component\Console\Output\OutputInterface
isDecorated() Gets the decorated flag. Symfony\Component\Console\Output\OutputInterface
isQuiet() Returns whether verbosity is quiet (-q). Symfony\Component\Console\Output\OutputInterface
isVerbose() Returns whether verbosity is verbose (-v). Symfony\Component\Console\Output\OutputInterface
isVeryVerbose() Returns whether verbosity is very verbose (-vv). Symfony\Component\Console\Output\OutputInterface
setDecorated() Sets the decorated flag. Symfony\Component\Console\Output\OutputInterface
setErrorOutput() Sets the OutputInterface used for errors. Symfony\Component\Console\Output\ConsoleOutputInterface
setFormatter() Sets output formatter. Symfony\Component\Console\Output\OutputInterface
setVerbosity() Sets the verbosity of the output. Symfony\Component\Console\Output\OutputInterface
write() Writes a message to the output. Symfony\Component\Console\Output\OutputInterface
writeln() Writes a message to the output and adds a newline at the end. Symfony\Component\Console\Output\OutputInterface

Method Details

getErrorOutput() public abstract method

Gets the OutputInterface for errors.

public abstract Symfony\Component\Console\Output\OutputInterface getErrorOutput ( )
setErrorOutput() public abstract method

Sets the OutputInterface used for errors.

public abstract void setErrorOutput ( Symfony\Component\Console\Output\OutputInterface $error )
$error Symfony\Component\Console\Output\OutputInterface