vendor/store.shopware.com/h1webblog/src/Service/ScheduledTask/CacheInvalidateTask.php line 7

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace H1web\Blog\Service\ScheduledTask;
  4. use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
  5. class CacheInvalidateTask extends ScheduledTask
  6. {
  7.     public static function getTaskName(): string
  8.     {
  9.         return 'h1.blog_page_cache_invalidate';
  10.     }
  11.     public static function getDefaultInterval(): int
  12.     {
  13.         return CacheInvalidateTaskHandler::TIME_DIFF_MINUTES 60// minutes to second
  14.     }
  15. }