There was an error while loading. Please reload this page.
1 parent 8e2ff4a commit 9960f0cCopy full SHA for 9960f0c
console/commands_as_services.rst
@@ -34,7 +34,7 @@ with ``console.command``:
34
35
.. code-block:: xml
36
37
- <!-- app/config/config.xml -->
+ <!-- app/config/services.xml -->
38
<?xml version="1.0" encoding="UTF-8" ?>
39
<container xmlns="http://symfony.com/schema/dic/services"
40
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -52,7 +52,7 @@ with ``console.command``:
52
53
.. code-block:: php
54
55
- // app/config/config.php
+ // app/config/services.php
56
use AppBundle\Command\MyCommand;
57
58
$container
0 commit comments