Skip to content

Commit 8e2ff4a

Browse files
authored
Change code file location
I don't know if it's an error, but common practices is to define services in `app/config/services.yml`
1 parent 54a3e1f commit 8e2ff4a

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
@@ -25,7 +25,7 @@ with ``console.command``:
2525

2626
.. code-block:: yaml
2727
28-
# app/config/config.yml
28+
# app/config/services.yml
2929
services:
3030
app.command.my_command:
3131
class: AppBundle\Command\MyCommand

0 commit comments

Comments
 (0)