Skip to content

Commit 7478632

Browse files
committed
syntax tweaks
1 parent 6a15e52 commit 7478632

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: console/lazy_commands.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ The traditional way of adding commands to your application is to use
1212

1313
This approach can have downsides as some commands might be expensive to
1414
instantiate in which case you may want to lazy-load them. Note however that lazy-loading
15-
is not absolute. Indeed a few commands such as `list`, `help` or `_complete` can
16-
require to instantiate other commands although they are lazy. For example `list` needs
15+
is not absolute. Indeed a few commands such as ``list``, ``help`` or ``_complete`` can
16+
require to instantiate other commands although they are lazy. For example ``list`` needs
1717
to get the name and description of all commands, which might require the command to be
1818
instantiated to get.
1919

@@ -54,7 +54,7 @@ Another way to do so is to take advantage of ``Symfony\Component\Console\Command
5454

5555
// In this case although the command is instantiated, the underlying command factory
5656
// will not be executed unless the command is actually executed or one tries to access
57-
// to its input definition to know its argument or option inputs.
57+
// its input definition to know its argument or option inputs.
5858
$lazyCommand = new LazyCommand(
5959
'app:heavy',
6060
[],

0 commit comments

Comments
 (0)