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

Commit966fa12

Browse files
committed
Merge branch '4.2'
* 4.2: Revert "minor#11385 Don't use Flex config in 3.4 branch (javiereguiluz)" Swap aliases Don't use Flex config in 3.4 branch
2 parentsebf693b +50bbacc commit966fa12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎service_container/autowiring.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,12 @@ injection::
412412
# the ``App\Util\UppercaseTransformer`` service will be
413413
# injected when an ``App\Util\TransformerInterface``
414414
# type-hint for a ``$shoutyTransformer`` argument is detected.
415-
App\Util\TransformerInterface:'@App\Util\Rot13Transformer'
415+
App\Util\TransformerInterface $shoutyTransformer:'@App\Util\UppercaseTransformer'
416416
417417
# If the argument used for injection does not match, but the
418418
# type-hint still matches, the ``App\Util\Rot13Transformer``
419419
# service will be injected.
420-
App\Util\TransformerInterface $shoutyTransformer:'@App\Util\UppercaseTransformer'
420+
App\Util\TransformerInterface:'@App\Util\Rot13Transformer'
421421
422422
App\Service\TwitterClient:
423423
# the Rot13Transformer will be passed as the $transformer argument

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp