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

Commit012456d

Browse files
committed
Movedversionadded to the right section
1 parent730985f commit012456d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎components/console/changing_default_behavior.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Changing the Default Behavior
55
=============================
66

7-
..versionadded::2.5,
8-
The:method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
9-
method was introduced in version 2.5
10-
117
When building a command line tool, you may need to customize it to fit your needs.
128
Probably you want to change the Default Command that the Application runs or
139
maybe you just want to run a Single Command instead of have to pass the command
@@ -16,6 +12,10 @@ name each time. Fortunately it is possible to do both.
1612
Changing the Default Command
1713
----------------------------
1814

15+
..versionadded::2.5,
16+
The:method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
17+
method was introduced in version 2.5
18+
1919
By default the Application will always run the ListCommand. In order to change
2020
the default command you just need to pass the command name you want to run by
2121
default to the:method:`Symfony\\Component\\Console\\Application::setDefaultCommand`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp