| 1 | <?php |
||
| 17 | class Swift_Mime_ContentEncoder_RawContentEncoder implements Swift_Mime_ContentEncoder |
||
|
|
|||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Encode a given string to produce an encoded string. |
||
| 21 | * |
||
| 22 | * @param string $string |
||
| 23 | * @param int $firstLineOffset ignored |
||
| 24 | * @param int $maxLineLength ignored |
||
| 25 | * |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function encodeString($string, $firstLineOffset = 0, $maxLineLength = 0) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Encode stream $in to stream $out. |
||
| 35 | * |
||
| 36 | * @param int $firstLineOffset ignored |
||
| 37 | * @param int $maxLineLength ignored |
||
| 38 | */ |
||
| 39 | 8 | public function encodeByteStream(Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, $maxLineLength = 0) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Get the name of this encoding scheme. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 8 | public function getName() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * Not used. |
||
| 58 | */ |
||
| 59 | 8 | public function charsetChanged($charset) |
|
| 62 | } |
||
| 63 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.