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

Commitc06454d

Browse files
committed
Merge pull requestsymfony#2292 from eugene-dounar/2.0
[symfony#2290] Single command apps with arguments
2 parents9dfb144 +bd7dfbf commitc06454d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎components/console/single_command_tool.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ it is possible to remove this need by extending the application::
4747

4848
When calling your console script, the command `MyCommand` will then always
4949
be used, without having to pass its name.
50+
51+
..note::
52+
53+
If your command accepts one or more arguments, you may also want to override
54+
getDefinition() method.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp