1 | <?php |
||
8 | class NotificationAttachment |
||
9 | { |
||
10 | /** |
||
11 | * @var int |
||
12 | */ |
||
13 | private $id; |
||
14 | |||
15 | /** |
||
16 | * @var Notification |
||
17 | */ |
||
18 | private $notification; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $attachment; |
||
24 | |||
25 | /** |
||
26 | * @param Notification $notification |
||
27 | * @param string $attachment |
||
28 | */ |
||
29 | public function __construct(Notification $notification, $attachment) |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getAttachment() |
||
42 | |||
43 | /** |
||
44 | * @return int |
||
45 | */ |
||
46 | public function getId() |
||
50 | |||
51 | /** |
||
52 | * @return Notification |
||
53 | */ |
||
54 | public function getNotification() |
||
58 | } |
||
59 |