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 @@ -346,7 +346,6 @@ Start the string with ``@`` or ``@?`` to reference a service in YAML.
346
346
347
347
.. code-block :: yaml
348
348
349
- # app/config/config.yml
350
349
parameters :
351
350
# if 'my_mailer' service isn't defined, an exception will be raised
352
351
foo : @my_mailer
@@ -371,7 +370,6 @@ method call, the method call is removed).
371
370
372
371
.. code-block :: xml
373
372
374
- <!-- app/config/config.xml -->
375
373
<parameters >
376
374
<!-- if 'my_mailer' service isn't defined, an exception will be raised -->
377
375
<parameter key =" foo" type =" service" id =" my_mailer" />
@@ -391,7 +389,6 @@ argument and constants from
391
389
392
390
.. code-block :: php
393
391
394
- // app/config/config.php
395
392
use Symfony\Component\DependencyInjection\Reference;
396
393
397
394
// if 'my_mailer' service isn't defined, an exception will be raised
You can’t perform that action at this time.
0 commit comments