vendor/shopware/core/Framework/Adapter/Cache/InvalidateCacheTask.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Framework\Adapter\Cache;
  3. use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
  4. class InvalidateCacheTask extends ScheduledTask
  5. {
  6.     public static function getTaskName(): string
  7.     {
  8.         return 'shopware.invalidate_cache';
  9.     }
  10.     public static function getDefaultInterval(): int
  11.     {
  12.         return 20;
  13.     }
  14. }