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

Appearance settings

Commit 012456d

Browse filesBrowse files
committed
Moved versionadded to the right section
1 parent 730985f commit 012456d
Copy full SHA for 012456d

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎components/console/changing_default_behavior.rst

Copy file name to clipboardExpand all lines: components/console/changing_default_behavior.rst
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.