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

Commitbd7dfbf

Browse files
author
Eugene Dounar
committed
[symfony#2290] Single command apps with arguments
| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | all| Fixed tickets |symfony#2290
1 parent35d7bc6 commitbd7dfbf

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