Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

NullOutput.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 2.11 KiB


001  <?php
002   
003  /*
004   * This file is part of the Symfony package.
005   *
006   * (c) Fabien Potencier <fabien@symfony.com>
007   *
008   * For the full copyright and license information, please view the LICENSE
009   * file that was distributed with this source code.
010   */
011   
012  namespace Symfony\Component\Console\Output;
013   
014  use Symfony\Component\Console\Formatter\OutputFormatter;
015  use Symfony\Component\Console\Formatter\OutputFormatterInterface;
016   
017  /**
018   * NullOutput suppresses all output.
019   *
020   *     $output = new NullOutput();
021   *
022   * @author Fabien Potencier <fabien@symfony.com>
023   * @author Tobias Schultze <http://tobion.de>
024   */
025  class NullOutput implements OutputInterface
026  {
027      /**
028       * {@inheritdoc}
029       */
030      public function setFormatter(OutputFormatterInterface $formatter)
031      {
032          // do nothing
033      }
034   
035      /**
036       * {@inheritdoc}
037       */
038      public function getFormatter()
039      {
040          // to comply with the interface we must return a OutputFormatterInterface
041          return new OutputFormatter();
042      }
043   
044      /**
045       * {@inheritdoc}
046       */
047      public function setDecorated($decorated)
048      {
049          // do nothing
050      }
051   
052      /**
053       * {@inheritdoc}
054       */
055      public function isDecorated()
056      {
057          return false;
058      }
059   
060      /**
061       * {@inheritdoc}
062       */
063      public function setVerbosity($level)
064      {
065          // do nothing
066      }
067   
068      /**
069       * {@inheritdoc}
070       */
071      public function getVerbosity()
072      {
073          return self::VERBOSITY_QUIET;
074      }
075   
076      /**
077       * {@inheritdoc}
078       */
079      public function isQuiet()
080      {
081          return true;
082      }
083   
084      /**
085       * {@inheritdoc}
086       */
087      public function isVerbose()
088      {
089          return false;
090      }
091   
092      /**
093       * {@inheritdoc}
094       */
095      public function isVeryVerbose()
096      {
097          return false;
098      }
099   
100      /**
101       * {@inheritdoc}
102       */
103      public function isDebug()
104      {
105          return false;
106      }
107   
108      /**
109       * {@inheritdoc}
110       */
111      public function writeln($messages, $options = self::OUTPUT_NORMAL)
112      {
113          // do nothing
114      }
115   
116      /**
117       * {@inheritdoc}
118       */
119      public function write($messages, $newline = false, $options = self::OUTPUT_NORMAL)
120      {
121          // do nothing
122      }
123  }
124