| 1 | <?php |
||
| 18 | final class WebhookRetryListener implements EventSubscriberInterface |
||
| 19 | { |
||
| 20 | /** @var HandlerInterface */ |
||
| 21 | private $retryHandler; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * WebhookRetryListener constructor. |
||
| 25 | * |
||
| 26 | * @param HandlerInterface $retryHandler |
||
| 27 | */ |
||
| 28 | public function __construct(HandlerInterface $retryHandler) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | public static function getSubscribedEvents(): array |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param WebhookEvent $event |
||
| 45 | */ |
||
| 46 | public function handle(WebhookEvent $event) |
||
| 50 | } |