Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/Style/StyleInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
32 */ | 32 */ |
33 public function section($message); | 33 public function section($message); |
34 | 34 |
35 /** | 35 /** |
36 * Formats a list. | 36 * Formats a list. |
37 * | |
38 * @param array $elements | |
39 */ | 37 */ |
40 public function listing(array $elements); | 38 public function listing(array $elements); |
41 | 39 |
42 /** | 40 /** |
43 * Formats informational text. | 41 * Formats informational text. |
81 */ | 79 */ |
82 public function caution($message); | 80 public function caution($message); |
83 | 81 |
84 /** | 82 /** |
85 * Formats a table. | 83 * Formats a table. |
86 * | |
87 * @param array $headers | |
88 * @param array $rows | |
89 */ | 84 */ |
90 public function table(array $headers, array $rows); | 85 public function table(array $headers, array $rows); |
91 | 86 |
92 /** | 87 /** |
93 * Asks a question. | 88 * Asks a question. |
94 * | 89 * |
95 * @param string $question | 90 * @param string $question |
96 * @param string|null $default | 91 * @param string|null $default |
97 * @param callable|null $validator | 92 * @param callable|null $validator |
98 * | 93 * |
99 * @return string | 94 * @return mixed |
100 */ | 95 */ |
101 public function ask($question, $default = null, $validator = null); | 96 public function ask($question, $default = null, $validator = null); |
102 | 97 |
103 /** | 98 /** |
104 * Asks a question with the user input hidden. | 99 * Asks a question with the user input hidden. |
105 * | 100 * |
106 * @param string $question | 101 * @param string $question |
107 * @param callable|null $validator | 102 * @param callable|null $validator |
108 * | 103 * |
109 * @return string | 104 * @return mixed |
110 */ | 105 */ |
111 public function askHidden($question, $validator = null); | 106 public function askHidden($question, $validator = null); |
112 | 107 |
113 /** | 108 /** |
114 * Asks for confirmation. | 109 * Asks for confirmation. |
125 * | 120 * |
126 * @param string $question | 121 * @param string $question |
127 * @param array $choices | 122 * @param array $choices |
128 * @param string|int|null $default | 123 * @param string|int|null $default |
129 * | 124 * |
130 * @return string | 125 * @return mixed |
131 */ | 126 */ |
132 public function choice($question, array $choices, $default = null); | 127 public function choice($question, array $choices, $default = null); |
133 | 128 |
134 /** | 129 /** |
135 * Add newline(s). | 130 * Add newline(s). |