| Total Complexity | 8 |
| Total Lines | 51 |
| 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 $label = null; |
||
| 21 | |||
| 22 | public function getTitle(): ?string |
||
| 23 | { |
||
| 24 | return $this->title; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function setTitle(?string $title): void |
||
| 28 | { |
||
| 29 | $this->title = $title; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getText(): ?string |
||
| 33 | { |
||
| 34 | return $this->text; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function setText(?string $text): void |
||
| 38 | { |
||
| 39 | $this->text = $text; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getUrl(): ?string |
||
| 43 | { |
||
| 44 | return $this->url; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function setUrl(?string $url): void |
||
| 48 | { |
||
| 49 | $this->url = $url; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function getLabel(): ?string |
||
| 53 | { |
||
| 54 | return $this->label; |
||
| 55 | } |
||
| 56 | |||
| 57 | public function setLabel(?string $label): void |
||
| 60 | } |
||
| 61 | |||
| 62 | } |
||
| 63 |