404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.137.185.16: ~ $
<?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 string $buffer = '';

    /**
     * Empties buffer and returns its content.
     */
    public function fetch(): string
    {
        $content = $this->buffer;
        $this->buffer = '';

        return $content;
    }

    protected function doWrite(string $message, bool $newline)
    {
        $this->buffer .= $message;

        if ($newline) {
            $this->buffer .= \PHP_EOL;
        }
    }
}

Filemanager

Name Type Size Permission Actions
AnsiColorMode.php File 3.87 KB 0644
BufferedOutput.php File 802 B 0644
ConsoleOutput.php File 4.62 KB 0644
ConsoleOutputInterface.php File 779 B 0644
ConsoleSectionOutput.php File 7.92 KB 0644
NullOutput.php File 1.86 KB 0644
Output.php File 4 KB 0644
OutputInterface.php File 2.56 KB 0644
StreamOutput.php File 3.36 KB 0644
TrimmedBufferOutput.php File 1.51 KB 0644