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
152152 ]
153153 );
154154
155+ .. versionadded :: 4.4
156+
157+ The ``horizontalTable() `` method was introduced in Symfony 4.4.
158+
155159: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 ::
157161
158162 $io->definitionList(
159- 'this is a title',
163+ 'This is a title',
160164 ['foo1' => 'bar1'],
161165 ['foo2' => 'bar2']
162166 ['foo3' => 'bar3']
163167 new TableSeparator(),
164- 'this is another title',
168+ 'This is another title',
165169 ['foo4' => 'bar4']
166170 );
167171
172+ .. versionadded :: 4.4
173+
174+ The ``definitionList() `` method was introduced in Symfony 4.4.
175+
168176:method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::newLine `
169177 It displays a blank line in the command output. Although it may seem useful,
170178 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