1: <?php
2: /**
3: * Attachments entity
4: *
5: * @author Yannick Huerre <dev@sheoak.fr>
6: * @copyright 2015 (c) Oasiswork
7: * @license https://opensource.org/licenses/MIT MIT
8: */
9: namespace Crunchmail\Entities;
10:
11: /**
12: * Attachments entity class
13: */
14: class AttachmentEntity extends \Crunchmail\Entities\GenericEntity
15: {
16: /**
17: * To string
18: *
19: * @return string
20: */
21: public function __toString()
22: {
23: return $this->file;
24: }
25: }
26: