Skip to content

Commit 43f692e

Browse files
committed
Add the versionadded directive
1 parent 0534011 commit 43f692e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

console/style.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,16 @@ User Input Methods
324324

325325
$io->choice('Select the queue to analyze', ['queue1', 'queue2', 'queue3'], 'queue1');
326326

327-
Finally, you can specify that user can select multiple choices. User must
327+
Finally, you can allow users to select multiple choices. To do so, users must
328328
separate each choice with a comma (e.g. typing ``1, 2`` will select choice 1
329329
and 2)::
330330

331331
$io->choice('Select the queue to analyze', ['queue1', 'queue2', 'queue3'], multiSelect: true);
332332

333+
.. versionadded:: 6.2
334+
335+
The ``multiSelect`` option of ``choice()`` was introduced in Symfony 6.2.
336+
333337
Result Methods
334338
~~~~~~~~~~~~~~
335339

0 commit comments

Comments
 (0)