|
0
|
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 |
|
|
|
11 |
|
|
|
12 |
/** |
|
|
13 |
* Interface for all Encoder schemes. |
|
|
14 |
* @package Swift |
|
|
15 |
* @subpackage Encoder |
|
|
16 |
* @author Chris Corbyn |
|
|
17 |
*/ |
|
|
18 |
interface Swift_Encoder extends Swift_Mime_CharsetObserver |
|
|
19 |
{ |
|
|
20 |
|
|
|
21 |
/** |
|
|
22 |
* Encode a given string to produce an encoded string. |
|
|
23 |
* @param string $string |
|
|
24 |
* @param int $firstLineOffset if first line needs to be shorter |
|
|
25 |
* @param int $maxLineLength - 0 indicates the default length for this encoding |
|
|
26 |
* @return string |
|
|
27 |
*/ |
|
|
28 |
public function encodeString($string, $firstLineOffset = 0, |
|
|
29 |
$maxLineLength = 0); |
|
|
30 |
|
|
|
31 |
} |