Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc753260

Browse files
committed
Merge pull requestsymfony#3265 from bicpi/fix_method_description
[Components][Console] Fix askConfirmation() description
2 parents650dd51 +cf7e31f commitc753260

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎components/console/helpers/dialoghelper.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ the following to your command::
3131
return;
3232
}
3333

34-
In this case, the user will be asked "Continue with this action?", and will return
35-
``true`` if the user answers with ``y`` or false in any other case. The third
36-
argument to ``askConfirmation`` is the default value to return if the user doesn't
37-
enter any input.
34+
In this case, the user will be asked "Continue with this action?", and will
35+
return ``true`` if the user answers with ``y`` or ``false`` if the user answers
36+
with ``n``. The third argument to
37+
:method:`Symfony\\Component\\Console\\Helper\\DialogHelper::askConfirmation`
38+
is the default value to return if the user doesn't enter any input. Any other
39+
input will ask the same question again.
3840

3941
Asking the User for Information
4042
-------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp