Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
NullOutput.php
01 <?php
02
03 /*
04 * This file is part of the Symfony package.
05 *
06 * (c) Fabien Potencier <fabien@symfony.com>
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\Console\Output;
13
14 use Symfony\Component\Console\Formatter\OutputFormatter;
15 use Symfony\Component\Console\Formatter\OutputFormatterInterface;
16
17 /**
18 * NullOutput suppresses all output.
19 *
20 * $output = new NullOutput();
21 *
22 * @author Fabien Potencier <fabien@symfony.com>
23 * @author Tobias Schultze <http://tobion.de>
24 *
25 * @api
26 */
27 class NullOutput implements OutputInterface
28 {
29 /**
30 * {@inheritdoc}
31 */
32 public function setFormatter(OutputFormatterInterface $formatter)
33 {
34 // do nothing
35 }
36
37 /**
38 * {@inheritdoc}
39 */
40 public function getFormatter()
41 {
42 // to comply with the interface we must return a OutputFormatterInterface
43 return new OutputFormatter();
44 }
45
46 /**
47 * {@inheritdoc}
48 */
49 public function setDecorated($decorated)
50 {
51 // do nothing
52 }
53
54 /**
55 * {@inheritdoc}
56 */
57 public function isDecorated()
58 {
59 return false;
60 }
61
62 /**
63 * {@inheritdoc}
64 */
65 public function setVerbosity($level)
66 {
67 // do nothing
68 }
69
70 /**
71 * {@inheritdoc}
72 */
73 public function getVerbosity()
74 {
75 return self::VERBOSITY_QUIET;
76 }
77
78 /**
79 * {@inheritdoc}
80 */
81 public function writeln($messages, $type = self::OUTPUT_NORMAL)
82 {
83 // do nothing
84 }
85
86 /**
87 * {@inheritdoc}
88 */
89 public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL)
90 {
91 // do nothing
92 }
93 }
94