Skip to content

Commit 5378df7

Browse files
committed
minor #8303 Update expression_language.rst (atailouloute)
This PR was merged into the 2.7 branch. Discussion ---------- Update expression_language.rst To be coherent with the other examples Commits ------- 2061097 Update expression_language.rst
2 parents 80313bc + 2061097 commit 5378df7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

service_container/expression_language.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ of the new ``mailer_configuration`` service? One way is to use an expression:
2424

2525
.. code-block:: yaml
2626
27-
# app/config/config.yml
27+
# app/config/services.yml
2828
services:
2929
my_mailer:
3030
class: AppBundle\Mailer
3131
arguments: ["@=service('mailer_configuration').getMailerMethod()"]
3232
3333
.. code-block:: xml
3434
35-
<!-- app/config/config.xml -->
35+
<!-- app/config/services.xml -->
3636
<?xml version="1.0" encoding="UTF-8" ?>
3737
<container xmlns="http://symfony.com/schema/dic/services"
3838
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -48,7 +48,7 @@ of the new ``mailer_configuration`` service? One way is to use an expression:
4848
4949
.. code-block:: php
5050
51-
// app/config/config.php
51+
// app/config/services.php
5252
use AppBundle\Mailer;
5353
use Symfony\Component\ExpressionLanguage\Expression;
5454

0 commit comments

Comments
 (0)