diff --git a/src/Symfony/Component/Notifier/Bridge/Pushover/PushoverOptions.php b/src/Symfony/Component/Notifier/Bridge/Pushover/PushoverOptions.php index 36b12150a0a1e..5733e389efe14 100644 --- a/src/Symfony/Component/Notifier/Bridge/Pushover/PushoverOptions.php +++ b/src/Symfony/Component/Notifier/Bridge/Pushover/PushoverOptions.php @@ -124,6 +124,30 @@ public function priority(int $priority): static return $this; } + /** + * @see https://pushover.net/api#priority + * + * @return $this + */ + public function expire(int $seconds): static + { + $this->options['expire'] = $seconds; + + return $this; + } + + /** + * @see https://pushover.net/api#priority + * + * @return $this + */ + public function retry(int $seconds): static + { + $this->options['retry'] = $seconds; + + return $this; + } + /** * @see https://pushover.net/api#sounds *