Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2573102

Browse filesBrowse 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
Copy full SHA for 2573102

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎console/commands_as_services.rst

Copy file name to clipboardExpand all lines: console/commands_as_services.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.