/opt/alt/php55/usr/share/pear/Symfony/Component/Console/Output
NameSizeModeActions
BufferedOutput.php8720644editdlrm
ConsoleOutput.php29410644editdlrm
ConsoleOutputInterface.php8430644editdlrm
NullOutput.php17480644editdlrm
Output.php41550644editdlrm
OutputInterface.php28930644editdlrm
StreamOutput.php31490644editdlrm
Edit: /opt/alt/php55/usr/share/pear/Symfony/Component/Console/Output/BufferedOutput.php (872B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Output; /** * @author Jean-François Simon */ 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"; } } }