|
0
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
Swift_DependencyContainer::getInstance() |
|
|
4 |
|
|
|
5 |
-> register('transport.smtp') |
|
|
6 |
-> asNewInstanceOf('Swift_Transport_EsmtpTransport') |
|
|
7 |
-> withDependencies(array( |
|
|
8 |
'transport.buffer', |
|
|
9 |
array('transport.authhandler'), |
|
|
10 |
'transport.eventdispatcher' |
|
|
11 |
)) |
|
|
12 |
|
|
|
13 |
-> register('transport.sendmail') |
|
|
14 |
-> asNewInstanceOf('Swift_Transport_SendmailTransport') |
|
|
15 |
-> withDependencies(array( |
|
|
16 |
'transport.buffer', |
|
|
17 |
'transport.eventdispatcher' |
|
|
18 |
)) |
|
|
19 |
|
|
|
20 |
-> register('transport.mail') |
|
|
21 |
-> asNewInstanceOf('Swift_Transport_MailTransport') |
|
|
22 |
-> withDependencies(array('transport.mailinvoker', 'transport.eventdispatcher')) |
|
|
23 |
|
|
|
24 |
-> register('transport.loadbalanced') |
|
|
25 |
-> asNewInstanceOf('Swift_Transport_LoadBalancedTransport') |
|
|
26 |
|
|
|
27 |
-> register('transport.failover') |
|
|
28 |
-> asNewInstanceOf('Swift_Transport_FailoverTransport') |
|
|
29 |
|
|
|
30 |
-> register('transport.spool') |
|
|
31 |
-> asNewInstanceOf('Swift_Transport_SpoolTransport') |
|
|
32 |
-> withDependencies(array('transport.eventdispatcher')) |
|
|
33 |
|
|
|
34 |
-> register('transport.null') |
|
|
35 |
-> asNewInstanceOf('Swift_Transport_NullTransport') |
|
|
36 |
-> withDependencies(array('transport.eventdispatcher')) |
|
|
37 |
|
|
|
38 |
-> register('transport.mailinvoker') |
|
|
39 |
-> asSharedInstanceOf('Swift_Transport_SimpleMailInvoker') |
|
|
40 |
|
|
|
41 |
-> register('transport.buffer') |
|
|
42 |
-> asNewInstanceOf('Swift_Transport_StreamBuffer') |
|
|
43 |
-> withDependencies(array('transport.replacementfactory')) |
|
|
44 |
|
|
|
45 |
-> register('transport.authhandler') |
|
|
46 |
-> asNewInstanceOf('Swift_Transport_Esmtp_AuthHandler') |
|
|
47 |
-> withDependencies(array( |
|
|
48 |
array( |
|
|
49 |
'transport.crammd5auth', |
|
|
50 |
'transport.loginauth', |
|
|
51 |
'transport.plainauth' |
|
|
52 |
) |
|
|
53 |
)) |
|
|
54 |
|
|
|
55 |
-> register('transport.crammd5auth') |
|
|
56 |
-> asNewInstanceOf('Swift_Transport_Esmtp_Auth_CramMd5Authenticator') |
|
|
57 |
|
|
|
58 |
-> register('transport.loginauth') |
|
|
59 |
-> asNewInstanceOf('Swift_Transport_Esmtp_Auth_LoginAuthenticator') |
|
|
60 |
|
|
|
61 |
-> register('transport.plainauth') |
|
|
62 |
-> asNewInstanceOf('Swift_Transport_Esmtp_Auth_PlainAuthenticator') |
|
|
63 |
|
|
|
64 |
-> register('transport.eventdispatcher') |
|
|
65 |
-> asNewInstanceOf('Swift_Events_SimpleEventDispatcher') |
|
|
66 |
|
|
|
67 |
-> register('transport.replacementfactory') |
|
|
68 |
-> asSharedInstanceOf('Swift_StreamFilters_StringReplacementFilterFactory') |
|
|
69 |
|
|
|
70 |
; |