TYPO3  7.6
Encoding.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
17 {
23  public static function get7BitEncoding()
24  {
25  return self::_lookup('mime.7bitcontentencoder');
26  }
27 
33  public static function get8BitEncoding()
34  {
35  return self::_lookup('mime.8bitcontentencoder');
36  }
37 
43  public static function getQpEncoding()
44  {
45  return self::_lookup('mime.qpcontentencoder');
46  }
47 
53  public static function getBase64Encoding()
54  {
55  return self::_lookup('mime.base64contentencoder');
56  }
57 
58  // -- Private Static Methods
59 
60  private static function _lookup($key)
61  {
62  return Swift_DependencyContainer::getInstance()->lookup($key);
63  }
64 }