Merge branch 'maint/7.0'
[ninja.git] / application / vendor / swiftmailer / classes / Swift / Mime / HeaderEncoder / Base64HeaderEncoder.php
blobfeaba981ce01a975cc817bfdc3c049a4692cb538
1 <?php
3 /*
4 * This file is part of SwiftMailer.
5 * (c) 2004-2009 Chris Corbyn
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
11 require_once dirname(__FILE__) . '/../HeaderEncoder.php';
12 require_once dirname(__FILE__) . '/../../Encoder/Base64Encoder.php';
15 /**
16 * Handles Base64 (B) Header Encoding in Swift Mailer.
17 * @package Swift
18 * @subpackage Mime
19 * @author Chris Corbyn
21 class Swift_Mime_HeaderEncoder_Base64HeaderEncoder
22 extends Swift_Encoder_Base64Encoder
23 implements Swift_Mime_HeaderEncoder
26 /**
27 * Get the name of this encoding scheme.
28 * Returns the string 'B'.
29 * @return string
31 public function getName()
33 return 'B';