Total Complexity | 10 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class Notification implements NotificationInterface |
||
10 | { |
||
11 | use TimestampableAwareTrait; |
||
12 | use PersistableAwareTrait; |
||
13 | |||
14 | private ?string $title = null; |
||
15 | |||
16 | private ?string $text = null; |
||
17 | |||
18 | private ?string $url = null; |
||
19 | |||
20 | private ?string $urlTitle = null; |
||
21 | |||
22 | private ?string $label = null; |
||
23 | |||
24 | public function getTitle(): ?string |
||
25 | { |
||
26 | return $this->title; |
||
27 | } |
||
28 | |||
29 | public function setTitle(?string $title): void |
||
30 | { |
||
31 | $this->title = $title; |
||
32 | } |
||
33 | |||
34 | public function getText(): ?string |
||
35 | { |
||
36 | return $this->text; |
||
37 | } |
||
38 | |||
39 | public function setText(?string $text): void |
||
40 | { |
||
41 | $this->text = $text; |
||
42 | } |
||
43 | |||
44 | public function getUrl(): ?string |
||
45 | { |
||
46 | return $this->url; |
||
47 | } |
||
48 | |||
49 | public function setUrl(?string $url): void |
||
50 | { |
||
51 | $this->url = $url; |
||
52 | } |
||
53 | |||
54 | public function getLabel(): ?string |
||
55 | { |
||
56 | return $this->label; |
||
57 | } |
||
58 | |||
59 | public function setLabel(?string $label): void |
||
60 | { |
||
61 | $this->label = $label; |
||
62 | } |
||
63 | |||
64 | public function getUrlTitle(): ?string |
||
65 | { |
||
66 | return $this->urlTitle; |
||
67 | } |
||
68 | |||
69 | public function setUrlTitle(?string $urlTitle): void |
||
72 | } |
||
73 | |||
74 | } |
||
75 |