class BufferedOutput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Output/BufferedOutput.php \Symfony\Component\Console\Output\BufferedOutput
@author Jean-François Simon <contact@jfsimon.fr>
Hierarchy
- class \Symfony\Component\Console\Output\Output implements OutputInterface
- class \Symfony\Component\Console\Output\BufferedOutput
Expanded class hierarchy of BufferedOutput
7 files declare their use of BufferedOutput
- AbstractDescriptorTest.php in vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php - Application.php in vendor/
symfony/ console/ Application.php - Command.php in vendor/
symfony/ console/ Command/ Command.php - DummyOutput.php in vendor/
symfony/ console/ Tests/ Fixtures/ DummyOutput.php - InputDefinition.php in vendor/
symfony/ console/ Input/ InputDefinition.php
File
- vendor/
symfony/ console/ Output/ BufferedOutput.php, line 17
Namespace
Symfony\Component\Console\OutputView source
class BufferedOutput extends Output {
/**
* @var string
*/
private $buffer = '';
/**
* Empties buffer and returns its content.
*
* @return string
*/
public function fetch() {
$content = $this->buffer;
$this->buffer = '';
return $content;
}
/**
* {@inheritdoc}
*/
protected function doWrite($message, $newline) {
$this->buffer .= $message;
if ($newline) {
$this->buffer .= "\n";
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BufferedOutput:: |
private | property | ||
BufferedOutput:: |
protected | function |
Writes a message to the output. Overrides Output:: |
|
BufferedOutput:: |
public | function | Empties buffer and returns its content. | |
Output:: |
private | property | ||
Output:: |
private | property | ||
Output:: |
public | function |
Returns current output formatter instance. Overrides OutputInterface:: |
|
Output:: |
public | function |
Gets the current verbosity of the output. Overrides OutputInterface:: |
|
Output:: |
public | function | ||
Output:: |
public | function |
Gets the decorated flag. Overrides OutputInterface:: |
|
Output:: |
public | function | ||
Output:: |
public | function | ||
Output:: |
public | function | ||
Output:: |
public | function |
Sets the decorated flag. Overrides OutputInterface:: |
1 |
Output:: |
public | function |
Sets output formatter. Overrides OutputInterface:: |
1 |
Output:: |
public | function |
Sets the verbosity of the output. Overrides OutputInterface:: |
1 |
Output:: |
public | function |
Writes a message to the output. Overrides OutputInterface:: |
|
Output:: |
public | function |
Writes a message to the output and adds a newline at the end. Overrides OutputInterface:: |
|
Output:: |
public | function | Constructor. | 1 |
OutputInterface:: |
constant | |||
OutputInterface:: |
constant | |||
OutputInterface:: |
constant | |||
OutputInterface:: |
constant | |||
OutputInterface:: |
constant | |||
OutputInterface:: |
constant | |||
OutputInterface:: |
constant | |||
OutputInterface:: |
constant |