We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96461f8 commit a6aac8fCopy full SHA for a6aac8f
console/commands_as_services.rst
@@ -128,11 +128,13 @@ Or set the ``command`` attribute on the ``console.command`` tag in your service
128
->addTag('console.command', array('command' => 'app:sunshine'))
129
;
130
131
-That's it. In one way or another, the ``SunshineCommand`` will be instantiated only when
132
-the ``app:sunshine`` command is actually called.
+That's it. In one way or another, the ``SunshineCommand`` will be instantiated
+only when the ``app:sunshine`` command is actually called.
133
134
.. note::
135
+
136
You don't need to call ``setName()`` for configuring the command when it is lazy.
137
138
.. caution::
139
140
Calling the ``list`` command requires to load all commands, lazy ones included.
0 commit comments