Total Complexity | 4 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class AttachmentPayload extends Attachment |
||
8 | { |
||
9 | |||
10 | protected $ts; |
||
11 | |||
12 | protected $footer; |
||
13 | |||
14 | /** |
||
15 | * Set the timestamp |
||
16 | * |
||
17 | * @param $timestamp |
||
18 | */ |
||
19 | public function setTimestamp(string $timestamp) |
||
20 | { |
||
21 | $this->ts = $timestamp; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Get the timestamp |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getTimestamp(): string |
||
30 | { |
||
31 | return $this->ts; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Get the footer |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getFooter(): string |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Set the footer |
||
46 | * |
||
47 | * @param string $footer |
||
48 | */ |
||
49 | public function setFooter(string $footer) |
||
55 |