PHP 8.2.31
Preview: NullOutput.php Size: 2.22 KB
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/console/Output/NullOutput.php

<?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 RectorPrefix202411\Symfony\Component\Console\Output;

use RectorPrefix202411\Symfony\Component\Console\Formatter\NullOutputFormatter;
use RectorPrefix202411\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
 * NullOutput suppresses all output.
 *
 *     $output = new NullOutput();
 *
 * @author Fabien Potencier <fabien@symfony.com>
 * @author Tobias Schultze <http://tobion.de>
 */
class NullOutput implements OutputInterface
{
    /**
     * @var \Symfony\Component\Console\Formatter\NullOutputFormatter
     */
    private $formatter;
    /**
     * @return void
     */
    public function setFormatter(OutputFormatterInterface $formatter)
    {
        // do nothing
    }
    public function getFormatter() : OutputFormatterInterface
    {
        // to comply with the interface we must return a OutputFormatterInterface
        return $this->formatter = $this->formatter ?? new NullOutputFormatter();
    }
    /**
     * @return void
     */
    public function setDecorated(bool $decorated)
    {
        // do nothing
    }
    public function isDecorated() : bool
    {
        return \false;
    }
    /**
     * @return void
     */
    public function setVerbosity(int $level)
    {
        // do nothing
    }
    public function getVerbosity() : int
    {
        return self::VERBOSITY_QUIET;
    }
    public function isQuiet() : bool
    {
        return \true;
    }
    public function isVerbose() : bool
    {
        return \false;
    }
    public function isVeryVerbose() : bool
    {
        return \false;
    }
    public function isDebug() : bool
    {
        return \false;
    }
    /**
     * @return void
     * @param string|iterable $messages
     */
    public function writeln($messages, int $options = self::OUTPUT_NORMAL)
    {
        // do nothing
    }
    /**
     * @return void
     * @param string|iterable $messages
     */
    public function write($messages, bool $newline = \false, int $options = self::OUTPUT_NORMAL)
    {
        // do nothing
    }
}

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
2.72 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
881 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
4.84 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
833 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
8.61 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.22 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
4.38 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.86 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
4.01 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.65 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).