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

Commit6aad11c

Browse files
committed
minor#6905 Change example of ignoring dependencies for yaml (Integrity-178B)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes#6905).Discussion----------Change example of ignoring dependencies for yamlChange constructor injection to setter injection (the same as in examples for xml and php), so it is clear what method call is ignoredCommits-------282d0fc Change example of ignoring dependencies for yaml
2 parents1a387be +282d0fc commit6aad11c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎service_container/optional_dependencies.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ call if the service exists and remove the method call if it does not:
7676
services:
7777
app.newsletter_manager:
7878
class:AppBundle\Newsletter\NewsletterManager
79-
arguments:['@?app.mailer']
79+
calls:
80+
-[setMailer, ['@?app.mailer']]
8081
8182
..code-block::xml
8283

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp