interface ConsoleOutputInterface
ConsoleOutputInterface is the interface implemented by ConsoleOutput class. This adds information about stderr and section output stream.
@author Dariusz Górecki <darek.krk@gmail.com>
Hierarchy
- interface \Symfony\Component\Console\Output\OutputInterface
- interface \Symfony\Component\Console\Output\ConsoleOutputInterface extends \Symfony\Component\Console\Output\OutputInterface
Expanded class hierarchy of ConsoleOutputInterface
All classes that implement ConsoleOutputInterface
12 files declare their use of ConsoleOutputInterface
- Application.php in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - Application.php in vendor/
symfony/ console/ Application.php - ConsoleIO.php in vendor/
composer/ composer/ src/ Composer/ IO/ ConsoleIO.php - ConsoleLogger.php in vendor/
symfony/ console/ Logger/ ConsoleLogger.php - DebugHandlersListener.php in vendor/
symfony/ http-kernel/ EventListener/ DebugHandlersListener.php
File
-
vendor/
symfony/ console/ Output/ ConsoleOutputInterface.php, line 20
Namespace
Symfony\Component\Console\OutputView source
interface ConsoleOutputInterface extends OutputInterface {
/**
* Gets the OutputInterface for errors.
*/
public function getErrorOutput() : OutputInterface;
public function setErrorOutput(OutputInterface $error) : void;
public function section() : ConsoleSectionOutput;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ConsoleOutputInterface::getErrorOutput | public | function | Gets the OutputInterface for errors. | 1 |
ConsoleOutputInterface::section | public | function | 1 | |
ConsoleOutputInterface::setErrorOutput | public | function | 1 | |
OutputInterface::getFormatter | public | function | Returns current output formatter instance. | 3 |
OutputInterface::getVerbosity | public | function | Gets the current verbosity of the output. | 3 |
OutputInterface::isDebug | public | function | Returns whether verbosity is debug (-vvv). | 3 |
OutputInterface::isDecorated | public | function | Gets the decorated flag. | 3 |
OutputInterface::isQuiet | public | function | Returns whether verbosity is quiet (-q). | 3 |
OutputInterface::isVerbose | public | function | Returns whether verbosity is verbose (-v). | 3 |
OutputInterface::isVeryVerbose | public | function | Returns whether verbosity is very verbose (-vv). | 3 |
OutputInterface::OUTPUT_NORMAL | public | constant | ||
OutputInterface::OUTPUT_PLAIN | public | constant | ||
OutputInterface::OUTPUT_RAW | public | constant | ||
OutputInterface::setDecorated | public | function | Sets the decorated flag. | 3 |
OutputInterface::setFormatter | public | function | 3 | |
OutputInterface::setVerbosity | public | function | Sets the verbosity of the output. | 3 |
OutputInterface::VERBOSITY_DEBUG | public | constant | ||
OutputInterface::VERBOSITY_NORMAL | public | constant | ||
OutputInterface::VERBOSITY_QUIET | public | constant | ||
OutputInterface::VERBOSITY_SILENT | public | constant | ||
OutputInterface::VERBOSITY_VERBOSE | public | constant | ||
OutputInterface::VERBOSITY_VERY_VERBOSE | public | constant | ||
OutputInterface::write | public | function | Writes a message to the output. | 3 |
OutputInterface::writeln | public | function | Writes a message to the output and adds a newline at the end. | 3 |