We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--suffix
1 parent dfc8e9d commit c69b763Copy full SHA for c69b763
1 file changed
user_guide_src/source/cli/cli_generators.rst
@@ -112,6 +112,13 @@ Options:
112
* ``--suffix``: Append the component suffix to the generated class name.
113
* ``--force``: Set this flag to overwrite existing files on destination.
114
115
+.. note:: If you use ``--suffix``, the generated controller name will be like
116
+ ``ProductController``. That violates the Controller naming convention
117
+ when using :ref:`Auto Routing <controller-auto-routing-improved>`
118
+ (Controller class names MUST start with an uppercase letter and
119
+ ONLY the first character can be uppercase). So ``--suffix`` can be used
120
+ when you use :ref:`Defined Routes <defined-route-routing>`.
121
+
122
make:entity
123
-----------
124
0 commit comments