File tree 1 file changed +2
-4
lines changed
src/Symfony/Bundle/FrameworkBundle/Resources/config
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 33
33
->alias (MailerInterface::class, 'mailer.mailer ' )
34
34
35
35
->set ('mailer.transports ' , Transports::class)
36
+ ->factory ([service ('mailer.transport_factory ' ), 'fromStrings ' ])
36
37
->args ([
37
- inline_service ('mailer.transport_factory ' )
38
- ->factory ([service ('mailer.transport_factory ' ), 'fromStrings ' ]),
39
38
[], //transports
40
39
])
41
40
42
41
->set ('mailer.transport_factory ' , Transport::class)
43
42
->args ([tagged_iterator ('mailer.transport_factory ' )])
44
43
45
44
->set ('mailer.default_transport ' , TransportInterface::class)
45
+ ->factory ([service ('mailer.transport_factory ' ), 'fromString ' ])
46
46
->args ([
47
- inline_service ('mailer.transport_factory ' )
48
- ->factory ([service ('mailer.transport_factory '), 'fromString ' ]),
49
47
abstract_arg ('env(MAILER_DSN) ' ),
50
48
])
51
49
->alias (TransportInterface::class, 'mailer.default_transport ' )
You can’t perform that action at this time.
0 commit comments