TYPO3  7.6
OutputInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Symfony\Component\Console\Output;
13 
15 
23 interface OutputInterface
24 {
25  const VERBOSITY_QUIET = 0;
26  const VERBOSITY_NORMAL = 1;
27  const VERBOSITY_VERBOSE = 2;
29  const VERBOSITY_DEBUG = 4;
30 
31  const OUTPUT_NORMAL = 0;
32  const OUTPUT_RAW = 1;
33  const OUTPUT_PLAIN = 2;
34 
46  public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL);
47 
58  public function writeln($messages, $type = self::OUTPUT_NORMAL);
59 
67  public function setVerbosity($level);
68 
76  public function getVerbosity();
77 
85  public function setDecorated($decorated);
86 
94  public function isDecorated();
95 
103  public function setFormatter(OutputFormatterInterface $formatter);
104 
112  public function getFormatter();
113 }