Skip to content

Commit 1548935

Browse files
ayacoolinawolf
andauthored
Update Tutorial.rst (#5891)
* Update Tutorial.rst - Change command to name - Source: https://github.com/symfony/console/blob/7.3/Attribute/AsCommand.php#L30 * Update Documentation/ApiOverview/CommandControllers/Tutorial.rst Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com> --------- Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com>
1 parent 318f35c commit 1548935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/ApiOverview/CommandControllers/Tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ When using this attribute there is no need to register the command in the
162162
:file:`Services.yaml` file.
163163

164164
.. note::
165-
Only the parameters `command`, `description`, `aliases` and `hidden` are
165+
Only the parameters `name` (same as `command` in the Services.yaml), `description`, `aliases` and `hidden` are
166166
available. In order to overwrite the parameter `schedulable` use the
167167
registration via
168168
:ref:`Services.yaml <console-command-tutorial-registration-services>`.

0 commit comments

Comments
 (0)