1 | <?php |
||
16 | class Swift_Encoding |
||
|
|||
17 | { |
||
18 | /** |
||
19 | * Get the Encoder that provides 7-bit encoding. |
||
20 | * |
||
21 | * @return Swift_Mime_ContentEncoder |
||
22 | */ |
||
23 | 1 | public static function get7BitEncoding() |
|
27 | |||
28 | /** |
||
29 | * Get the Encoder that provides 8-bit encoding. |
||
30 | * |
||
31 | * @return Swift_Mime_ContentEncoder |
||
32 | */ |
||
33 | 1 | public static function get8BitEncoding() |
|
37 | |||
38 | /** |
||
39 | * Get the Encoder that provides Quoted-Printable (QP) encoding. |
||
40 | * |
||
41 | * @return Swift_Mime_ContentEncoder |
||
42 | */ |
||
43 | 1 | public static function getQpEncoding() |
|
47 | |||
48 | /** |
||
49 | * Get the Encoder that provides Base64 encoding. |
||
50 | * |
||
51 | * @return Swift_Mime_ContentEncoder |
||
52 | */ |
||
53 | 1 | public static function getBase64Encoding() |
|
57 | |||
58 | 4 | private static function _lookup($key) |
|
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.