File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -152,19 +152,27 @@ Content Methods
152
152
]
153
153
);
154
154
155
+ .. versionadded :: 4.4
156
+
157
+ The ``horizontalTable() `` method was introduced in Symfony 4.4.
158
+
155
159
:method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::definitionList `
156
- It displays the given arguments as compact table horizontally where the key ::
160
+ It displays the given `` key => value `` pairs as a compact list of elements ::
157
161
158
162
$io->definitionList(
159
- 'this is a title',
163
+ 'This is a title',
160
164
['foo1' => 'bar1'],
161
165
['foo2' => 'bar2']
162
166
['foo3' => 'bar3']
163
167
new TableSeparator(),
164
- 'this is another title',
168
+ 'This is another title',
165
169
['foo4' => 'bar4']
166
170
);
167
171
172
+ .. versionadded :: 4.4
173
+
174
+ The ``definitionList() `` method was introduced in Symfony 4.4.
175
+
168
176
:method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::newLine `
169
177
It displays a blank line in the command output. Although it may seem useful,
170
178
most of the times you won't need it at all. The reason is that every helper
You can’t perform that action at this time.
0 commit comments