You are here

class TestOutput in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Tests/Output/OutputTest.php \Symfony\Component\Console\Tests\Output\TestOutput

Hierarchy

Expanded class hierarchy of TestOutput

File

vendor/symfony/console/Tests/Output/OutputTest.php, line 143

Namespace

Symfony\Component\Console\Tests\Output
View source
class TestOutput extends Output {
  public $output = '';
  public function clear() {
    $this->output = '';
  }
  protected function doWrite($message, $newline) {
    $this->output .= $message . ($newline ? "\n" : '');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Output::$formatter private property
Output::$verbosity private property
Output::getFormatter public function Returns current output formatter instance. Overrides OutputInterface::getFormatter
Output::getVerbosity public function Gets the current verbosity of the output. Overrides OutputInterface::getVerbosity
Output::isDebug public function
Output::isDecorated public function Gets the decorated flag. Overrides OutputInterface::isDecorated
Output::isQuiet public function
Output::isVerbose public function
Output::isVeryVerbose public function
Output::setDecorated public function Sets the decorated flag. Overrides OutputInterface::setDecorated 1
Output::setFormatter public function Sets output formatter. Overrides OutputInterface::setFormatter 1
Output::setVerbosity public function Sets the verbosity of the output. Overrides OutputInterface::setVerbosity 1
Output::write public function Writes a message to the output. Overrides OutputInterface::write
Output::writeln public function Writes a message to the output and adds a newline at the end. Overrides OutputInterface::writeln
Output::__construct public function Constructor. 1
OutputInterface::OUTPUT_NORMAL constant
OutputInterface::OUTPUT_PLAIN constant
OutputInterface::OUTPUT_RAW constant
OutputInterface::VERBOSITY_DEBUG constant
OutputInterface::VERBOSITY_NORMAL constant
OutputInterface::VERBOSITY_QUIET constant
OutputInterface::VERBOSITY_VERBOSE constant
OutputInterface::VERBOSITY_VERY_VERBOSE constant
TestOutput::$output public property
TestOutput::clear public function
TestOutput::doWrite protected function Writes a message to the output. Overrides Output::doWrite