| 1 | <?php |
||
| 5 | class AppleNotification extends AbstractNotification |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string[] |
||
| 9 | */ |
||
| 10 | private $supportedOptions = [ |
||
| 11 | 'badge', |
||
| 12 | 'sound', |
||
| 13 | 'content-available', |
||
| 14 | ]; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string[] |
||
| 18 | */ |
||
| 19 | private $supportedAlertProperties = [ |
||
| 20 | 'title', |
||
| 21 | 'body', |
||
| 22 | 'title-loc-key', |
||
| 23 | 'title-loc-args', |
||
| 24 | 'action-loc-key', |
||
| 25 | 'loc-key', |
||
| 26 | 'loc-args', |
||
| 27 | 'launch-image', |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function getFormat() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function getContentType() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | public function getPayload() |
||
| 79 | } |
||
| 80 |