| 1 | <?php |
||
| 5 | class Attachment |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | public $content; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | public $type; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public $filename; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | public $disposition; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $content_id; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $content |
||
| 34 | * @return Attachment |
||
| 35 | */ |
||
| 36 | public function setContent($content) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $type |
||
| 44 | * @return Attachment |
||
| 45 | */ |
||
| 46 | public function setType($type) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $filename |
||
| 54 | * @return Attachment |
||
| 55 | */ |
||
| 56 | public function setFilename($filename) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param string $disposition |
||
| 64 | * @return Attachment |
||
| 65 | */ |
||
| 66 | public function setDisposition($disposition) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $content_id |
||
| 74 | * @return Attachment |
||
| 75 | */ |
||
| 76 | public function setContentId($content_id) |
||
| 81 | |||
| 82 | |||
| 83 | } |
||
| 84 |