1 | <?php |
||
20 | abstract class AbstractMobileNotificationPayload extends AbstractCommonNotificationPayload |
||
21 | { |
||
22 | /** @var string */ |
||
23 | private $sound; |
||
24 | |||
25 | /** @var string */ |
||
26 | private $bodyLocKey; |
||
27 | |||
28 | /** @var string[] */ |
||
29 | private $bodyLocArgs; |
||
30 | |||
31 | /** @var string */ |
||
32 | private $titleLocKey; |
||
33 | |||
34 | /** @var string[] */ |
||
35 | private $titleLocArgs; |
||
36 | |||
37 | /** |
||
38 | * @param string $sound |
||
39 | * |
||
40 | * @return $this |
||
41 | */ |
||
42 | public function setSound(string $sound): self |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getSound(): string |
||
56 | |||
57 | /** |
||
58 | * @param string $bodyLocKey |
||
59 | * |
||
60 | * @return $this |
||
61 | */ |
||
62 | public function setBodyLocKey(string $bodyLocKey): self |
||
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | */ |
||
72 | public function getBodyLocKey(): string |
||
76 | |||
77 | /** |
||
78 | * @param string[] $bodyLocArgs |
||
79 | * |
||
80 | * @return $this |
||
81 | */ |
||
82 | public function setBodyLocArgs(array $bodyLocArgs): self |
||
91 | |||
92 | /** |
||
93 | * @return string[] |
||
94 | */ |
||
95 | public function getBodyLocArgs(): array |
||
99 | |||
100 | /** |
||
101 | * @param string $titleLocKey |
||
102 | * |
||
103 | * @return $this |
||
104 | */ |
||
105 | public function setTitleLocKey(string $titleLocKey): self |
||
111 | |||
112 | /** |
||
113 | * @return string |
||
114 | */ |
||
115 | public function getTitleLocKey(): string |
||
119 | |||
120 | /** |
||
121 | * @param string[] $titleLocArgs |
||
122 | * |
||
123 | * @return $this |
||
124 | */ |
||
125 | public function setTitleLocArgs(array $titleLocArgs): self |
||
134 | |||
135 | /** |
||
136 | * @return string[] |
||
137 | */ |
||
138 | public function getTitleLocArgs(): array |
||
142 | } |
||
143 |