Skip to content

Commit 2573102

Browse files
committed
minor #7124 Fixed a typo in "define commands as service" (chalasr)
This PR was merged into the 2.7 branch. Discussion ---------- Fixed a typo in "define commands as service" In the introduction of this chapter, we are explaining the restrictions of the "normal" way to register commands, before showing that defining them as services can solve these problems, so at this point we don't talk about a service but a basic command. Commits ------- 43ecb46 Fixed a typo in "define commands as service"
2 parents 902483f + 43ecb46 commit 2573102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/commands_as_services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Symfony will even inject the container.
1111
While making life easier, this has some limitations:
1212

1313
* Your command must live in the ``Command`` directory;
14-
* There's no way to conditionally register your service based on the environment
14+
* There's no way to conditionally register your command based on the environment
1515
or availability of some dependencies;
1616
* You can't access the container in the ``configure()`` method (because
1717
``setContainer`` hasn't been called yet);

0 commit comments

Comments
 (0)