File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,5 +133,5 @@ only when the ``app:sunshine`` command is actually called.
133
133
.. caution ::
134
134
135
135
Calling the ``list `` command will instantiate all commands, including lazy commands.
136
- However, if the command is a `Symfony\Component\Console\Command\LazyCommand `, then
136
+ However, if the command is a `` Symfony\Component\Console\Command\LazyCommand ` `, then
137
137
the underlying command factory will not be executed.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ which will be responsible for returning ``Command`` instances::
26
26
use Symfony\Component\Console\CommandLoader\FactoryCommandLoader;
27
27
28
28
$commandLoader = new FactoryCommandLoader([
29
- // Note that the `list` command will still still instantiate that command
29
+ // Note that the `list` command will still instantiate that command
30
30
// in this example.
31
31
'app:heavy' => static fn(): Command => new HeavyCommand(),
32
32
]);
@@ -54,7 +54,7 @@ Another way to do so is to take advantage of ``Symfony\Component\Console\Command
54
54
55
55
// In this case although the command is instantiated, the underlying command factory
56
56
// will not be executed unless the command is actually executed or one tries to access
57
- // to its input definition.
57
+ // to its input definition to know its argument or option inputs .
58
58
$lazyCommand = new LazyCommand(
59
59
'app:heavy',
60
60
[],
You can’t perform that action at this time.
0 commit comments