TYPO3  7.6
StyleInterface.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\Style;
13 
19 interface StyleInterface
20 {
26  public function title($message);
27 
33  public function section($message);
34 
40  public function listing(array $elements);
41 
47  public function text($message);
48 
54  public function success($message);
55 
61  public function error($message);
62 
68  public function warning($message);
69 
75  public function note($message);
76 
82  public function caution($message);
83 
90  public function table(array $headers, array $rows);
91 
101  public function ask($question, $default = null, $validator = null);
102 
111  public function askHidden($question, $validator = null);
112 
121  public function confirm($question, $default = true);
122 
132  public function choice($question, array $choices, $default = null);
133 
139  public function newLine($count = 1);
140 
146  public function progressStart($max = 0);
147 
153  public function progressAdvance($step = 1);
154 
158  public function progressFinish();
159 }