| Total Complexity | 7 | 
| Total Lines | 72 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | abstract class NonMimePart extends MessagePart  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * Returns true.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @return bool  | 
            ||
| 20 | */  | 
            ||
| 21 | 1 | public function isTextPart()  | 
            |
| 24 | }  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Returns text/plain  | 
            ||
| 28 | *  | 
            ||
| 29 | * @return string  | 
            ||
| 30 | */  | 
            ||
| 31 | 1 | public function getContentType($default = 'text/plain')  | 
            |
| 32 |     { | 
            ||
| 33 | 1 | return $default;  | 
            |
| 34 | }  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Returns ISO-8859-1  | 
            ||
| 38 | *  | 
            ||
| 39 | * @return string  | 
            ||
| 40 | */  | 
            ||
| 41 | 1 | public function getCharset()  | 
            |
| 42 |     { | 
            ||
| 43 | 1 | return 'ISO-8859-1';  | 
            |
| 44 | }  | 
            ||
| 45 | |||
| 46 | /**  | 
            ||
| 47 | * Returns 'inline'.  | 
            ||
| 48 | *  | 
            ||
| 49 | * @return string  | 
            ||
| 50 | */  | 
            ||
| 51 | 1 | public function getContentDisposition($default = 'inline')  | 
            |
| 54 | }  | 
            ||
| 55 | |||
| 56 | /**  | 
            ||
| 57 | * Returns '7bit'.  | 
            ||
| 58 | *  | 
            ||
| 59 | * @return string  | 
            ||
| 60 | */  | 
            ||
| 61 | 1 | public function getContentTransferEncoding($default = '7bit')  | 
            |
| 64 | }  | 
            ||
| 65 | |||
| 66 | /**  | 
            ||
| 67 | * Returns false.  | 
            ||
| 68 | *  | 
            ||
| 69 | * @return bool  | 
            ||
| 70 | */  | 
            ||
| 71 | 1 | public function isMime()  | 
            |
| 72 |     { | 
            ||
| 73 | 1 | return false;  | 
            |
| 74 | }  | 
            ||
| 75 | |||
| 76 | /**  | 
            ||
| 77 | * Returns the Content ID of the part.  | 
            ||
| 78 | *  | 
            ||
| 79 | * NonMimeParts do not have a Content ID, and so this simply returns null.  | 
            ||
| 80 | *  | 
            ||
| 81 | * @return string|null  | 
            ||
| 82 | */  | 
            ||
| 83 | 1 | public function getContentId()  | 
            |
| 86 | }  | 
            ||
| 87 | }  | 
            ||
| 88 |