| Total Complexity | 4 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class UUEncodedPartHeaderContainer extends PartHeaderContainer |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var int the unix file permission |
||
| 22 | */ |
||
| 23 | protected $mode = null; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string the name of the file in the uuencoding 'header'. |
||
| 27 | */ |
||
| 28 | protected $filename = null; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Returns the file mode included in the uuencoded 'begin' line for this |
||
| 32 | * part. |
||
| 33 | * |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | 4 | public function getUnixFileMode() |
|
| 37 | { |
||
| 38 | 4 | return $this->mode; |
|
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Sets the unix file mode for the uuencoded 'begin' line. |
||
| 43 | * |
||
| 44 | * @param int $mode |
||
| 45 | */ |
||
| 46 | 4 | public function setUnixFileMode($mode) |
|
| 49 | 4 | } |
|
| 50 | |||
| 51 | /** |
||
| 52 | * Returns the filename included in the uuencoded 'begin' line for this |
||
| 53 | * part. |
||
| 54 | * |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 4 | public function getFilename() |
|
| 58 | { |
||
| 59 | 4 | return $this->filename; |
|
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Sets the filename included in the uuencoded 'begin' line. |
||
| 64 | * |
||
| 65 | * @param string $filename |
||
| 66 | */ |
||
| 67 | 4 | public function setFilename($filename) |
|
| 70 | 4 | } |
|
| 71 | } |
||
| 72 |