@@ -120,7 +120,6 @@ configuration files, even if they use a different format:
120
120
.. code-block :: php
121
121
122
122
// config/services.php
123
-
124
123
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
125
124
126
125
return static function (ContainerConfigurator $container) {
@@ -213,7 +212,6 @@ reusable configuration value. By convention, parameters are defined under the
213
212
.. code-block :: php
214
213
215
214
// config/services.php
216
-
217
215
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
218
216
219
217
use App\Entity\BlogPost;
@@ -322,7 +320,6 @@ configuration file using a special syntax: wrap the parameter name in two ``%``
322
320
.. code-block :: php
323
321
324
322
// config/services.php
325
-
326
323
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
327
324
328
325
return static function (ContainerConfigurator $container) {
@@ -496,7 +493,6 @@ This example shows how you could configure the database connection using an env
496
493
.. code-block :: php
497
494
498
495
// config/packages/doctrine.php
499
-
500
496
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
501
497
502
498
return static function (ContainerConfigurator $container) {
@@ -803,7 +799,6 @@ doesn't work for parameters:
803
799
.. code-block :: php
804
800
805
801
// config/services.php
806
-
807
802
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
808
803
809
804
use App\Service\MessageGenerator;
@@ -861,7 +856,6 @@ whenever a service/controller defines a ``$projectDir`` argument, use this:
861
856
.. code-block :: php
862
857
863
858
// config/services.php
864
-
865
859
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
866
860
867
861
use App\Controller\LuckyController;
0 commit comments