1 | <?php |
||
22 | class WebNotificationPayload extends AbstractCommonNotificationPayload implements WebPayloadInterface |
||
23 | { |
||
24 | private ?string $icon = null; |
||
|
|||
25 | |||
26 | /** |
||
27 | * @param string $icon |
||
28 | * |
||
29 | * @return $this |
||
30 | */ |
||
31 | public function setIcon(string $icon): self |
||
32 | { |
||
33 | $this->icon = $icon; |
||
34 | |||
35 | return $this; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string|null |
||
40 | */ |
||
41 | public function getIcon(): ?string |
||
42 | { |
||
43 | return $this->icon; |
||
44 | } |
||
45 | } |
||
46 |