aboutsummaryrefslogtreecommitdiff
path: root/h-source/External/swiftmailer/lib/dependency_maps/mime_deps.php
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2021-10-14 15:16:42 +1100
committerYuchen Pei <hi@ypei.me>2021-10-14 15:16:42 +1100
commit07f5140771388c9e0c8a99b0dd2e5d950bdb173b (patch)
tree323c00faef1edc7dea2e88ff581cc2258b2b6432 /h-source/External/swiftmailer/lib/dependency_maps/mime_deps.php
parente119be145500700f3c465e12664403a07530a421 (diff)
moving h-source subdir out.
Diffstat (limited to 'h-source/External/swiftmailer/lib/dependency_maps/mime_deps.php')
-rwxr-xr-xh-source/External/swiftmailer/lib/dependency_maps/mime_deps.php97
1 files changed, 0 insertions, 97 deletions
diff --git a/h-source/External/swiftmailer/lib/dependency_maps/mime_deps.php b/h-source/External/swiftmailer/lib/dependency_maps/mime_deps.php
deleted file mode 100755
index e03927a..0000000
--- a/h-source/External/swiftmailer/lib/dependency_maps/mime_deps.php
+++ /dev/null
@@ -1,97 +0,0 @@
-<?php
-
-require_once dirname(__FILE__) . '/../mime_types.php';
-
-Swift_DependencyContainer::getInstance()
-
- -> register('properties.charset')
- -> asValue('utf-8')
-
- -> register('mime.message')
- -> asNewInstanceOf('Swift_Mime_SimpleMessage')
- -> withDependencies(array(
- 'mime.headerset',
- 'mime.qpcontentencoder',
- 'cache',
- 'properties.charset'
- ))
-
- -> register('mime.part')
- -> asNewInstanceOf('Swift_Mime_MimePart')
- -> withDependencies(array(
- 'mime.headerset',
- 'mime.qpcontentencoder',
- 'cache',
- 'properties.charset'
- ))
-
- -> register('mime.attachment')
- -> asNewInstanceOf('Swift_Mime_Attachment')
- -> withDependencies(array(
- 'mime.headerset',
- 'mime.base64contentencoder',
- 'cache'
- ))
- -> addConstructorValue($swift_mime_types)
-
- -> register('mime.embeddedfile')
- -> asNewInstanceOf('Swift_Mime_EmbeddedFile')
- -> withDependencies(array(
- 'mime.headerset',
- 'mime.base64contentencoder',
- 'cache'
- ))
- -> addConstructorValue($swift_mime_types)
-
- -> register('mime.headerfactory')
- -> asNewInstanceOf('Swift_Mime_SimpleHeaderFactory')
- -> withDependencies(array(
- 'mime.qpheaderencoder',
- 'mime.rfc2231encoder',
- 'properties.charset'
- ))
-
- -> register('mime.headerset')
- -> asNewInstanceOf('Swift_Mime_SimpleHeaderSet')
- -> withDependencies(array('mime.headerfactory', 'properties.charset'))
-
- -> register('mime.qpheaderencoder')
- -> asNewInstanceOf('Swift_Mime_HeaderEncoder_QpHeaderEncoder')
- -> withDependencies(array('mime.charstream'))
-
- -> register('mime.charstream')
- -> asNewInstanceOf('Swift_CharacterStream_NgCharacterStream')
- -> withDependencies(array('mime.characterreaderfactory', 'properties.charset'))
-
- -> register('mime.bytecanonicalizer')
- -> asSharedInstanceOf('Swift_StreamFilters_ByteArrayReplacementFilter')
- -> addConstructorValue(array(array(0x0D, 0x0A), array(0x0D), array(0x0A)))
- -> addConstructorValue(array(array(0x0A), array(0x0A), array(0x0D, 0x0A)))
-
- -> register('mime.characterreaderfactory')
- -> asSharedInstanceOf('Swift_CharacterReaderFactory_SimpleCharacterReaderFactory')
-
- -> register('mime.qpcontentencoder')
- -> asNewInstanceOf('Swift_Mime_ContentEncoder_QpContentEncoder')
- -> withDependencies(array('mime.charstream', 'mime.bytecanonicalizer'))
-
- -> register('mime.7bitcontentencoder')
- -> asNewInstanceOf('Swift_Mime_ContentEncoder_PlainContentEncoder')
- -> addConstructorValue('7bit')
- -> addConstructorValue(true)
-
- -> register('mime.8bitcontentencoder')
- -> asNewInstanceOf('Swift_Mime_ContentEncoder_PlainContentEncoder')
- -> addConstructorValue('8bit')
- -> addConstructorValue(true)
-
- -> register('mime.base64contentencoder')
- -> asSharedInstanceOf('Swift_Mime_ContentEncoder_Base64ContentEncoder')
-
- -> register('mime.rfc2231encoder')
- -> asNewInstanceOf('Swift_Encoder_Rfc2231Encoder')
- -> withDependencies(array('mime.charstream'))
-
- ;
-
-unset($swift_mime_types);