Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/vendor/consolidation/output-formatters/src/Formatters/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/vendor/consolidation/output-formatters/src/Formatters/TsvFormatter.php

<?php

namespace Consolidation\OutputFormatters\Formatters;

use Consolidation\OutputFormatters\Validate\ValidDataTypesInterface;
use Consolidation\OutputFormatters\Options\FormatterOptions;
use Consolidation\OutputFormatters\Transformations\TableTransformation;
use Consolidation\OutputFormatters\Exception\IncompatibleDataException;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * Tab-separated value formatters
 *
 * Display the provided structured data in a tab-separated list.  Output
 * escaping is much lighter, since there is no allowance for altering
 * the delimiter.
 */
class TsvFormatter extends CsvFormatter
{
    protected function getDefaultFormatterOptions()
    {
        return [
            FormatterOptions::INCLUDE_FIELD_LABELS => false,
        ];
    }

    protected function writeOneLine(OutputInterface $output, $data, $options)
    {
        $output->writeln($this->tsvEscape($data));
    }

    protected function tsvEscape($data)
    {
        return implode("\t", array_map(
            function ($item) {
                return str_replace(["\t", "\n"], ['\t', '\n'], $item);
            },
            $data
        ));
    }
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net