Skip to content

Commit c5682f7

Browse files
committed
Adding a note to specify that parameter/option are not mandatory
1 parent 1df5e91 commit c5682f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/console/console_command.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ instead of
118118
}
119119
}
120120

121+
.. note::
122+
123+
In the specific case above, the ``name`` parameter and the ``--yell`` option are not
124+
mandatory for the command to work well, but they are shown for the example.
125+
121126
To be able to use the fully set up service container for your console tests
122127
you can extend your test from
123128
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`::

0 commit comments

Comments
 (0)