custom/plugins/PayonePayment/src/ScheduledTask/RedirectCleanUp.php line 9

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace PayonePayment\ScheduledTask;
  4. use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
  5. class RedirectCleanUp extends ScheduledTask
  6. {
  7.     private const TIME_INTERVAL_DAILY 86400;
  8.     public static function getTaskName(): string
  9.     {
  10.         return 'payone_payment.redirect_clean_up';
  11.     }
  12.     public static function getDefaultInterval(): int
  13.     {
  14.         return self::TIME_INTERVAL_DAILY;
  15.     }
  16. }