File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,6 @@ Start the string with ``@`` or ``@?`` to reference a service in YAML.
345
345
346
346
.. code-block :: yaml
347
347
348
- # app/config/config.yml
349
348
parameters :
350
349
# if 'my_mailer' service isn't defined, an exception will be raised
351
350
foo : @my_mailer
@@ -370,7 +369,6 @@ method call, the method call is removed).
370
369
371
370
.. code-block :: xml
372
371
373
- <!-- app/config/config.xml -->
374
372
<parameters >
375
373
<!-- if 'my_mailer' service isn't defined, an exception will be raised -->
376
374
<parameter key =" foo" type =" service" id =" my_mailer" />
@@ -390,7 +388,6 @@ argument and constants from
390
388
391
389
.. code-block :: php
392
390
393
- // app/config/config.php
394
391
use Symfony\Component\DependencyInjection\Reference;
395
392
396
393
// if 'my_mailer' service isn't defined, an exception will be raised
You can’t perform that action at this time.
0 commit comments