Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / dependency_maps / transport_deps.php
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.mailinvoker')
31 -> asSharedInstanceOf('Swift_Transport_SimpleMailInvoker')
32
33 -> register('transport.buffer')
34 -> asNewInstanceOf('Swift_Transport_StreamBuffer')
35 -> withDependencies(array('transport.replacementfactory'))
36
37 -> register('transport.authhandler')
38 -> asNewInstanceOf('Swift_Transport_Esmtp_AuthHandler')
39 -> withDependencies(array(
40 array(
41 'transport.crammd5auth',
42 'transport.loginauth',
43 'transport.plainauth'
44 )
45 ))
46
47 -> register('transport.crammd5auth')
48 -> asNewInstanceOf('Swift_Transport_Esmtp_Auth_CramMd5Authenticator')
49
50 -> register('transport.loginauth')
51 -> asNewInstanceOf('Swift_Transport_Esmtp_Auth_LoginAuthenticator')
52
53 -> register('transport.plainauth')
54 -> asNewInstanceOf('Swift_Transport_Esmtp_Auth_PlainAuthenticator')
55
56 -> register('transport.eventdispatcher')
57 -> asNewInstanceOf('Swift_Events_SimpleEventDispatcher')
58
59 -> register('transport.replacementfactory')
60 -> asSharedInstanceOf('Swift_StreamFilters_StringReplacementFilterFactory')
61
62 ;