Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3ad96fd

Browse files
committed
adjustments
1 parent9c6baa3 commit3ad96fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎controller.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ command:
225225
226226
..tip::
227227

228-
If you need control over the *exact* value of an argument,you can use the
229-
``#[Autowire]`` attribute::
228+
If you need control over the *exact* value of an argument,or require a parameter,
229+
you can use the``#[Autowire]`` attribute::
230230

231231
// ...
232232
use Psr\Log\LoggerInterface;

‎service_container/autowiring.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,8 @@ To fix this, you can :ref:`manually wire the problematic argument <services-manu
545545
in the service configuration. You wire up only the difficult arguments,
546546
Symfony takes care of the rest.
547547

548-
You can also use the ``#[Autowire]`` parameter attribute toconfigure the
549-
problematic arguments:
548+
You can also use the ``#[Autowire]`` parameter attribute toinstruct the autowiring
549+
logic about those arguments:
550550

551551
// src/Service/MessageGenerator.php
552552
namespace App\Service;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp