File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,8 @@ logic about those arguments::
565565 The ``#[Autowire] `` attribute was introduced in Symfony 6.1.
566566
567567The ``#[Autowire] `` attribute can also be used for :ref: `parameters <service-parameters >`,
568- :doc: `complex expressions </service_container/expression_language >` and even :ref: `environment variables <config-env-vars >`::
568+ :doc: `complex expressions </service_container/expression_language >` and even
569+ :ref: `environment variables <config-env-vars >`::
569570
570571 // src/Service/MessageGenerator.php
571572 namespace App\Service;
@@ -588,7 +589,7 @@ The ``#[Autowire]`` attribute can also be used for :ref:`parameters <service-par
588589 #[Autowire(expression: 'service("App\\Mail\\MailerConfiguration").getMailerMethod()')]
589590 string $mailerMethod
590591
591- // environment variable
592+ // environment variables
592593 #[Autowire(env: 'SOME_ENV_VAR')]
593594 string $senderName
594595 ) {
You can’t perform that action at this time.
0 commit comments