| 1 | <?php |
||
| 22 | class AndroidNotificationPayload extends AbstractMobileNotificationPayload implements AndroidPayloadInterface |
||
| 23 | { |
||
| 24 | /** @var string */ |
||
| 25 | private $icon; |
||
| 26 | |||
| 27 | /** @var string */ |
||
| 28 | private $tag; |
||
| 29 | |||
| 30 | /** @var string */ |
||
| 31 | private $color; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $icon |
||
| 35 | * |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function setIcon(string $icon): self |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getIcon(): string |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $tag |
||
| 55 | * |
||
| 56 | * @return $this |
||
| 57 | */ |
||
| 58 | public function setTag(string $tag): self |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function getTag(): string |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @param string $color |
||
| 75 | * |
||
| 76 | * @return $this |
||
| 77 | */ |
||
| 78 | public function setColor(string $color): self |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @return string |
||
| 87 | */ |
||
| 88 | public function getColor(): string |
||
| 92 | } |
||
| 93 |