From 8e2ff4a750d6504d813b79ddfcbdfd014f6f9e0d Mon Sep 17 00:00:00 2001 From: Smaine Milianni Date: Tue, 5 Jun 2018 11:50:46 +0200 Subject: [PATCH 1/2] 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` --- console/commands_as_services.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/commands_as_services.rst b/console/commands_as_services.rst index 90555f570ec..593f035aa75 100644 --- a/console/commands_as_services.rst +++ b/console/commands_as_services.rst @@ -25,7 +25,7 @@ with ``console.command``: .. code-block:: yaml - # app/config/config.yml + # app/config/services.yml services: app.command.my_command: class: AppBundle\Command\MyCommand From 9960f0c4a5aeb1cd9427a8d0f6a5ceeba02bdb8d Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 6 Jun 2018 08:45:09 +0200 Subject: [PATCH 2/2] Fixed some wrong file paths --- console/commands_as_services.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/console/commands_as_services.rst b/console/commands_as_services.rst index 593f035aa75..f57f0d3d2ad 100644 --- a/console/commands_as_services.rst +++ b/console/commands_as_services.rst @@ -34,7 +34,7 @@ with ``console.command``: .. code-block:: xml - +