OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
php
/
Symfony
/
Component
/
Console
/
Output
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
07/20/2024 06:32:21 AM
rwxr-xr-x
π
BufferedOutput.php
840 bytes
03/05/2018 08:02:01 PM
rw-r--r--
π
ConsoleOutput.php
3.92 KB
03/05/2018 08:02:01 PM
rw-r--r--
π
ConsoleOutputInterface.php
734 bytes
03/05/2018 08:02:01 PM
rw-r--r--
π
NullOutput.php
2.11 KB
03/05/2018 08:02:01 PM
rw-r--r--
π
Output.php
4.37 KB
03/05/2018 08:02:01 PM
rw-r--r--
π
OutputInterface.php
3.26 KB
03/05/2018 08:02:01 PM
rw-r--r--
π
StreamOutput.php
3.35 KB
03/05/2018 08:02:01 PM
rw-r--r--
Editing: BufferedOutput.php
Close
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * 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 <contact@jfsimon.fr> */ class BufferedOutput extends Output { 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 .= PHP_EOL; } } }