8000 Minor tweaks · symfony/symfony-docs@a5e1d81 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5e1d81

Browse files
committed
Minor tweaks
1 parent 97d21a8 commit a5e1d81

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

console/style.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
0