| 1 |
<?php |
| 2 |
|
| 3 |
namespace Pushly\Models; |
| 4 |
|
| 5 |
class NotificationTemplateChannelsWeb implements \JsonSerializable { |
| 6 |
public ?string $title = null; |
| 7 |
public ?string $body = null; |
| 8 |
public ?string $landing_url = null; |
| 9 |
public ?string $image_url = null; |
| 10 |
|
| 11 |
#[\ReturnTypeWillChange] |
| 12 |
public function jsonSerialize(): array { |
| 13 |
return [ |
| 14 |
'title' => $this->title, |
| 15 |
'body' => $this->body, |
| 16 |
'landing_url' => $this->landing_url, |
| 17 |
'image_url' => $this->image_url, |
| 18 |
]; |
| 19 |
} |
| 20 |
} |
| 21 |
|